2.4.9-rc0 does not compile with gcc-4.8.1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Environment:
      gcc-4.8.1
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When building 2.4.9-rc0 with gcc-4.8.1, the following errors occur:

      src/third_party/boost/boost/date_time/date_parsing.hpp: In function 'date_type boost::date_time::parse_undelimited_date(const string&)':
      src/third_party/boost/boost/date_time/date_parsing.hpp:162:45: warning: typedef 'year_type' locally defined but not used [-Wunused-local-typedefs]
             typedef typename date_type::year_type year_type;
                                                   ^
      src/third_party/boost/boost/concept/detail/general.hpp:71:20: warning: typedef 'boost_concept_check266' locally defined but not used [-Wunused-local-typedefs]
             BOOST_PP_CAT(boost_concept_check,__LINE__)
      

      We probably need to add -Wno-unused-local-typedefs as suggested in the fixit.

              Assignee:
              Andrew Morrow (Inactive)
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: