[ https://issues.apache.org/jira/browse/QPID-6178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180245#comment-14180245 ]
ASF subversion and git services commented on QPID-6178: ------------------------------------------------------- Commit 1633665 from c...@apache.org in branch 'qpid/trunk' [ https://svn.apache.org/r1633665 ] QPID-6178: [C++ Broker] Fix compile issue with VS2008 and Boost 1.55 > [C++ Broker] compiler error Visual Studio 2008 and Boost 1.55 > ------------------------------------------------------------- > > Key: QPID-6178 > URL: https://issues.apache.org/jira/browse/QPID-6178 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Affects Versions: 0.30 > Environment: Boost 1.55 and VS2008 x86 relwithdebinfo > Reporter: Chuck Rolke > Assignee: Chuck Rolke > > Boost 1.55 triggers a complaint/failure in VS2008: > {noformat} > 6>..\..\qpid\cpp\src\qpid\broker\MessageAdapter.cpp(38) : error C2872: > 'empty' : ambiguous symbol > 6> could be 'c:\Program Files (x86)\Microsoft Visual Studio > 9.0\VC\include\ivec.h(826) : void empty(void)' > 6> or '..\..\qpid\cpp\src\qpid\broker\MessageAdapter.cpp(29) : > const std::string `anonymous-namespace'::empty' > 6>..\..\qpid\cpp\src\qpid\broker\MessageAdapter.cpp(38) : error C2446: ':' : > no conversion from 'void (__cdecl *)(void)' to 'const std::string' > 6> No constructor could take the source type, or constructor overload > resolution was ambiguous > 6>..\..\qpid\cpp\src\qpid\broker\MessageAdapter.cpp(79) : error C2872: > 'empty' : ambiguous symbol > 6> could be 'c:\Program Files (x86)\Microsoft Visual Studio > 9.0\VC\include\ivec.h(826) : void empty(void)' > 6> or '..\..\qpid\cpp\src\qpid\broker\MessageAdapter.cpp(29) : > const std::string `anonymous-namespace'::empty' > 6>..\..\qpid\cpp\src\qpid\broker\MessageAdapter.cpp(79) : error C2446: ':' : > no conversion from 'void (__cdecl *)(void)' to 'const std::string' > 6> No constructor could take the source type, or constructor overload > resolution was ambiguous > {noformat} > This error can be reproduced by adding '#include <ivec.h>' in > MessageAdapter.cpp. Boost 1.55 achieves the include through include path: > interlocked.hpp -> intrin.h -> dvec.h -> fvec.h -> ivec.h -- 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