Dan Burkert created KUDU-1390:
---------------------------------
Summary: 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
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)