Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7629

Use CMake "SYSTEM" keyword when including headers

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        1. 1.36.0-system-includes.patch
          0.8 kB
          Chris Richardson

        Issue Links

          Activity

            People

              jross Justin Ross
              crichardson Chris Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: