Opened 11 years ago
Last modified 11 years ago
#6369 new Bugs
gcc -Wshadow typedef patch
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | To Be Determined | Component: | date_time |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: |
Description
With -Wshadow and gcc 4.6.1 I get...
LibreOffice/core/solver/callcatcher/inc/boost/date_time/gregorian/gregorian_io.hpp: In function 'std::basic_istream<_CharT, _Traits>& boost::gregorian::operator>>(std::basic_istream<_CharT, _Traits>&, boost::gregorian::date&)': LibreOffice/core/solver/callcatcher/inc/boost/date_time/gregorian/gregorian_io.hpp:80:67: error: declaration of 'date_input_facet' shadows a global declaration [-Werror=shadow] /home/caolan/LibreOffice/core/solver/callcatcher/inc/boost/date_time/gregorian/gregorian_io.hpp:43:57: error: shadowed declaration is here [-Werror=shadow]
patch to silence these attached
Attachments (1)
Change History (2)
by , 11 years ago
Attachment: | boost.XXXX.warnings.patch added |
---|
comment:1 by , 11 years ago
Component: | None → date_time |
---|---|
Owner: | set to |
patch for warnings