You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2014/11/04 22:34:33 UTC

[jira] [Resolved] (QPID-6178) [C++ Broker] compiler error Visual Studio 2008 and Boost 1.55

     [ https://issues.apache.org/jira/browse/QPID-6178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuck Rolke resolved QPID-6178.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.31

> [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
>             Fix For: 0.31
>
>
> 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org