You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/18 12:26:12 UTC
[jira] [Commented] (MESOS-3932) Silence Boost compiler warnings
with CMake
[ https://issues.apache.org/jira/browse/MESOS-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15288873#comment-15288873 ]
ASF GitHub Bot commented on MESOS-3932:
---------------------------------------
GitHub user frankscholten opened a pull request:
https://github.com/apache/mesos/pull/104
MESOS-3932 Suppressed boost auto_ptr compile warnings.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/frankscholten/mesos MESOS-3932
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mesos/pull/104.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #104
----
commit 4fbe309be6b17f65cb2ad7c0dde0967ed3643b72
Author: Frank Scholten <fr...@frankscholten.nl>
Date: 2016-05-18T12:21:49Z
Suppressed boost auto_ptr compile warnings.
----
> Silence Boost compiler warnings with CMake
> ------------------------------------------
>
> Key: MESOS-3932
> URL: https://issues.apache.org/jira/browse/MESOS-3932
> Project: Mesos
> Issue Type: Bug
> Reporter: Neil Conway
> Priority: Minor
> Labels: cmake, mesosphere
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)