You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/03/11 15:44:04 UTC

[jira] [Resolved] (QPID-7629) Use CMake "SYSTEM" keyword when including headers

     [ https://issues.apache.org/jira/browse/QPID-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross resolved QPID-7629.
-------------------------------
    Resolution: Fixed

> Use CMake "SYSTEM" keyword when including headers
> -------------------------------------------------
>
>                 Key: QPID-7629
>                 URL: https://issues.apache.org/jira/browse/QPID-7629
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, C++ Client
>    Affects Versions: qpid-cpp-1.36.0
>            Reporter: Chris Richardson
>            Assignee: Justin Ross
>             Fix For: qpid-cpp-1.37.0
>
>         Attachments: 1.36.0-system-includes.patch
>
>
> See attached patch which applies this change to the NSS and SASL include directories. The patch does not affect the included headers from perl, python, ruby, boost or qpid-proton since it is probably not necessary to consider those dependencies.
> This change would prevent -Werror being applied to code in header files included from dependent libraries, which can cause failures such as:
> [ 25%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/Modules.cpp.o
> In file included from /usr/include/nss/ssl.h:18:0,
>                  from /var/tmp/portage/net-misc/qpid-cpp-1.36.0/work/qpid-cpp-1.36.0/src/qpid/sys/ssl/util.cpp:30:
> /usr/include/nss/sslt.h:121:40: error: comma at end of enumerator list [-Werror=pedantic]
>      ssl_sig_rsa_pkcs1_sha1md5 = 0x10101,
>                                         ^
> cc1plus: all warnings being treated as errors



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org