Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3932

Silence Boost compiler warnings with CMake

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      Per MESOS-3799, we should silence at least two kinds of compiler warning fixes when including the Boost headers:

      • Add -Wno-unused-local-typedefs to CXXFLAGS
      • Use -isystem when including Boost to avoid deprecation warnings for use of auto_ptr

      I believe we technically need both, IIRC because some other depedencies pull in Boost using their own -I flag.

      Attachments

        Issue Links

          Activity

            People

              hausdorff Alex Clemmer
              neilc Neil Conway
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: