Opened 11 years ago

Last modified 11 years ago

#6369 new Bugs

gcc -Wshadow typedef patch

Reported by: caolanm@… 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)

boost.XXXX.warnings.patch (15.3 KB ) - added by caolanm@… 11 years ago.
patch for warnings

Download all attachments as: .zip

Change History (2)

by caolanm@…, 11 years ago

Attachment: boost.XXXX.warnings.patch added

patch for warnings

comment:1 by Daryle Walker, 11 years ago

Component: Nonedate_time
Owner: set to az_sw_dude
Note: See TracTickets for help on using tickets.