$ g++ -c logTargets.ii 
In file included from
/usr/include/boost/date_time/gregorian/formatters.hpp:17:0,
                 from /usr/include/boost/date_time/gregorian/gregorian.hpp:25,
                 from
/usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
                 from
/usr/include/boost/date_time/posix_time/posix_time.hpp:24,
                 from logTargets.cpp:48:
/usr/include/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)':
/usr/include/boost/date_time/date_formatting.hpp:87:36: error: cannot call
constructor 'std::locale::locale' directly
/usr/include/boost/date_time/date_formatting.hpp:87:36: error:   for a
function-style cast, remove the redundant '::locale'
/usr/include/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) [with ymd_type =
boost::date_time::year_month_day_base<boost::gregorian::greg_year,
boost::gregorian::greg_month, boost::gregorian::greg_day>, format_type =
boost::date_time::simple_format<char>, charT = char]':
/usr/include/boost/date_time/date_formatting.hpp:124:76:   instantiated from
'static boost::date_time::date_formatter<date_type, format_type,
charT>::string_type boost::date_time::date_formatter<date_type, format_type,
charT>::date_to_string(date_type) [with date_type = boost::gregorian::date,
format_type = boost::date_time::simple_format<char>, charT = char,
boost::date_time::date_formatter<date_type, format_type, charT>::string_type =
std::basic_string<char>]'
/usr/include/boost/date_time/gregorian/formatters.hpp:34:99:   instantiated
from 'std::basic_string<_CharT> boost::gregorian::to_simple_string_type(const
boost::gregorian::date&) [with charT = char]'
/usr/include/boost/date_time/gregorian/formatters.hpp:40:41:   instantiated
from here
/usr/include/boost/date_time/date_formatting.hpp:87:7: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: [4.5 regression] ICE: Segmentation fault on error
                    recovery
           Product: gcc
           Version: 4.5.1
            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=44039

Reply via email to