This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42701] New: ICE on error recovery


seen with trunk 20100107 on ix86:

$ g++ -c greg_month.ii
In file included from ./boost/date_time/gregorian/formatters.hpp:17:0,
                 from libs/date_time/src/gregorian/greg_month.cpp:21:
./boost/date_time/date_formatting.hpp: In static member function 'static
std::basic_string<charT> boost::date_time::ymd_formatter<ymd_type, format_type,
charT>::ymd_to_string(ymd_type)':
./boost/date_time/date_formatting.hpp:87:36: error: cannot call constructor
'std::locale::locale' directly
./boost/date_time/date_formatting.hpp:87:36: note: for a function-style cast,
remove the redundant '::locale'
./boost/date_time/gregorian/formatters.hpp:65: confused by earlier errors,
bailing out
Preprocessed source stored into /tmp/ccNSCpcB.out file, please attach this to
your bugreport.


-- 
           Summary: ICE on error recovery
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at ubuntu dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42701


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]