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

[cpp] Build produces deprecation warnings on recent Fedora

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • qpid-cpp-1.36.0
    • qpid-cpp-1.37.0
    • C++ Broker, C++ Client
    • Fedora 25

    Description

      -- Found SWIG: /usr/bin/swig (found version "3.0.11") 
      -- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.13") 
      -- Found Perl: /usr/bin/perl (found version "5.24.1") 
      -- Found PerlLibs: /usr/lib64/libperl.so (found version "5.24.1") 
      -- Building Python bindings
      CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:226 (message):
        SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
      Call Stack (most recent call first):
        bindings/qpid/python/CMakeLists.txt:35 (swig_add_module)
      
      
      CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:226 (message):
        SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
      Call Stack (most recent call first):
        bindings/qmf2/python/CMakeLists.txt:35 (swig_add_module)
      
      
      -- Building Ruby bindings
      CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:226 (message):
        SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
      Call Stack (most recent call first):
        bindings/qpid/ruby/CMakeLists.txt:48 (swig_add_module)
      
      
      CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:226 (message):
        SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
      Call Stack (most recent call first):
        bindings/qmf2/ruby/CMakeLists.txt:39 (swig_add_module)
      
      
      -- Building Perl bindings
      CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:226 (message):
        SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
      Call Stack (most recent call first):
        bindings/qpid/perl/CMakeLists.txt:31 (swig_add_module)
      
      
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/jross/code/qpid-cpp/bld
      

      Attachments

        1. swig-deprecation.patch
          3 kB
          Justin Ross

        Issue Links

          Activity

            People

              jross Justin Ross
              jross Justin Ross
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: