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

Silence Boost compiler warnings with CMake

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: 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

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

                Dates

                • Created:
                  Updated:
                  Resolved: