[ https://issues.apache.org/jira/browse/QPID-6008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Ström reopened QPID-6008: ------------------------------- Actually, the README still says to use -std=c++: {code} back-1 ~/dev/qpid-git/qpid/cpp/bld$ cmake -DCMAKE_CXX_FLAGS=-std=c++ .. Build type is *RelWithDebInfo* (has debug symbols) -- Could NOT find SASL (missing: FOUND_SASL_LIB FOUND_SASL_H) -- No need to generate AMQP protocol sources -- No need to generate Qpid Management Framework sources -- Boost version: 1.55.0 -- Found the following Boost libraries: -- program_options -- system -- checking for module 'nss' -- package 'nss' not found -- Could NOT find Proton: found neither ProtonConfig.cmake nor proton-config.cmake (Required is at least version "0.5") -- Qpid proton not found, amqp 1.0 support not enabled -- Legacystore requires BerkeleyDB for C++ which is absent. -- Legacystore is excluded from build. -- Linearstore requires BerkeleyDB for C++ which is absent. -- Linearstore is excluded from build. -- Building Python bindings -- Building Ruby bindings -- Building Perl bindings Build type is *RelWithDebInfo* (has debug symbols) -- Configuring done m-- Generating done a-- Build files have been written to: /home/johan/dev/qpid-git/qpid/cpp/bld back-1 ~/dev/qpid-git/qpid/cpp/bld$ make [ 0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Exception.cpp.o error: invalid value 'c++' in '-std=c++' *** Error code 1 {code} Instead, using {code} cmake -DCMAKE_CXX_FLAGS=-std=c++11 .. {code} works fine. The perl bindings still suffer the same problem. > Additional C++11 fix > -------------------- > > Key: QPID-6008 > URL: https://issues.apache.org/jira/browse/QPID-6008 > Project: Qpid > Issue Type: Improvement > Components: C++ Broker > Environment: FreeBSD 10.0, amd64, CLANG 3.3 > Reporter: Johan Ström > Attachments: qpid-c++11-fix.patch > > > When building trunk on FreeBSD 10 using clang a compilation error occurs, > similar to the ones patched in QPID-5659 > {code} > In file included from > /usr/home/johan/dev/qpid-git/qpid/cpp/src/qpid/broker/Message.cpp:22: > > [86/1752] > /usr/home/johan/dev/qpid-git/qpid/cpp/src/qpid/broker/Message.h:205:20: > error: no viable conversion from 'const > boost::scoped_ptr<map<basic_string<char>, Variant, less<basic_string<char> >, > allocator<pair<const > basic_string<char>, Variant> > > >' to 'bool' > return value; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org