You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dan Burkert (JIRA)" <ji...@apache.org> on 2016/10/04 21:31:20 UTC

[jira] [Resolved] (KUDU-1390) deprecation warnings triggered when building with cmake 3.5

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

Dan Burkert resolved KUDU-1390.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Fixed in https://github.com/apache/kudu/commit/bd549e13743a51013585

> deprecation warnings triggered when building with cmake 3.5
> -----------------------------------------------------------
>
>                 Key: KUDU-1390
>                 URL: https://issues.apache.org/jira/browse/KUDU-1390
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Dan Burkert
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> CMake 3.5.1 spits out some deprecation warnings when building Kudu:
> {code}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)