Affects: 2.5-36-g98ca41aCompiler: clang version 9.0.0OS: OpenMandriva 4.0.1 0.2 (Nitrogen) (only Linux distro I could find that uses Clang/LLVM/libc++ as system compiler)
Boost: 1.71.0
Came across this warning
cd /root/DDS/build/dds-commander && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -I/root/DDS/build/dds-commander -I/root/DDS/MiscCommon -I/root/DDS/dds-user-defaults/src -I/root/DDS/build/dds-user-defaults -I/root/DDS/build/dds-topology-lib -I/root/DDS/dds-topology-lib/src -I/root/DDS/dds-protocol-lib/src -I/root/DDS/build/dds-protocol-lib -I/root/DDS/MiscCommon/dds_ncf/src -I/root/DDS/build/dds-intercom-lib -I/root/DDS/dds-intercom-lib/src -I/root/DDS/build/dds-tools-lib -I/root/DDS/dds-tools-lib/src -std=c++11 -pthread -o CMakeFiles/dds-commander.dir/src/SSHScheduler.cpp.o -c /root/DDS/dds-commander/src/SSHScheduler.cpp
In file included from /root/DDS/dds-commander/src/SSHScheduler.cpp:5:
In file included from /root/DDS/dds-commander/src/SSHScheduler.h:9:
In file included from /root/DDS/dds-commander/src/AgentChannel.h:8:
In file included from /root/DDS/dds-protocol-lib/src/ServerChannelImpl.h:10:
In file included from /root/DDS/dds-protocol-lib/src/BaseChannelImpl.h:26:
In file included from /root/DDS/dds-protocol-lib/src/ChannelMessageHandlersImpl.h:9:
In file included from /root/DDS/dds-protocol-lib/src/CommandAttachmentImpl.h:21:
In file included from /root/DDS/dds-protocol-lib/src/SimpleMsgCmd.h:10:
/root/DDS/MiscCommon/Logger.h:9:9: warning: 'BOOST_LOG_DYN_LINK' macro redefined [-Wmacro-redefined]
#define BOOST_LOG_DYN_LINK
^
<command line>:6:9: note: previous definition is here
#define BOOST_LOG_DYN_LINK 1
^
1 warning generated.
Affects:
2.5-36-g98ca41a
Compiler:clang version 9.0.0
OS: OpenMandriva 4.0.1 0.2 (Nitrogen) (only Linux distro I could find that uses Clang/LLVM/libc++ as system compiler) Boost:1.71.0
Came across this warning
and this error
which can be fixed by this patch