qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Ström (JIRA) <j...@apache.org>
Subject [jira] [Commented] (QPID-6008) Additional C++11 fix
Date Sat, 16 Aug 2014 11:39:18 GMT

    [ https://issues.apache.org/jira/browse/QPID-6008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099606#comment-14099606
] 

Johan Ström commented on QPID-6008:
-----------------------------------

In addition, the Perl bindings seems to not build, but a quick googling gives that this is
a common perl problem:
{code}
Scanning dependencies of target cqpid_perl
[ 96%] Building CXX object bindings/qpid/perl/CMakeFiles/cqpid_perl.dir/perlPERL_wrap.cxx.o
In file included from /usr/home/johan/dev/qpid-git/qpid/cpp/bld/bindings/qpid/perl/perlPERL_wrap.cxx:745:
In file included from /usr/local/lib/perl5/5.16/mach/CORE/perl.h:3445:
/usr/local/lib/perl5/5.16/mach/CORE/pad.h:236:17: error: invalid suffix on literal; C++11
requires a space between literal and identifier [-Wreserved-user-defined-literal]
              "Pad 0x%"UVxf"[0x%"UVxf"] set_cur    depth=%d\n", \
{code}

Building with -DBUILD_BINDING_PERL=off allows the full build to go through.


> 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.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message