Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1390

deprecation warnings triggered when building with cmake 3.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      CMake 3.5.1 spits out some deprecation warnings when building Kudu:

      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/gutil/CMakeLists.txt:65 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/util/CMakeLists.txt:27 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/util/CMakeLists.txt:41 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/util/CMakeLists.txt:55 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/util/CMakeLists.txt:203 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/common/CMakeLists.txt:23 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/common/CMakeLists.txt:37 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/common/CMakeLists.txt:75 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/cfile/CMakeLists.txt:26 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/fs/CMakeLists.txt:23 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/tablet/CMakeLists.txt:70 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/rpc/CMakeLists.txt:24 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/rpc/CMakeLists.txt:37 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/rpc/CMakeLists.txt:77 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/tserver/CMakeLists.txt:34 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/tserver/CMakeLists.txt:53 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/tserver/CMakeLists.txt:73 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/tserver/CMakeLists.txt:95 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/consensus/CMakeLists.txt:33 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/consensus/CMakeLists.txt:59 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/master/CMakeLists.txt:30 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/master/CMakeLists.txt:70 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/client/CMakeLists.txt:25 (ADD_EXPORTABLE_LIBRARY)
      
      
      CMake Deprecation Warning at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/GenerateExportHeader.cmake:383 (message):
        The add_compiler_export_flags function is obsolete.  Use the
        CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties
        instead.
      Call Stack (most recent call first):
        CMakeLists.txt:528 (add_compiler_export_flags)
        src/kudu/client/CMakeLists.txt:75 (ADD_EXPORTABLE_LIBRARY)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            danburkert Dan Burkert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: