Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12272

2.4.9-rc0 does not compile with gcc-4.8.1

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

      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@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: