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

2.4.9-rc0 does not compile with gcc-4.8.1

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: