qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Rolke (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-2643) trunk build failed under VS10 x64.
Date Thu, 28 Jul 2011 21:28:09 GMT

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

Chuck Rolke updated QPID-2643:
------------------------------

    Attachment: Patch-2010-02.patch

The attached patch file got qpid trunk to compile in VS2010. Thanks to Andrew Stitcher for
helping this effort. Highlights are:

1. Modify shell script to force MSVC10 as CMake generator.

2. The List.h patch previous in this jira.

3. Add a qualifier for int8_t.

4. CMake changes for MSVC10

5. Sprinkle explicit boost:: to disambiguate between boost and std.

In addition, we had to *remove* the "#define _WIN32_WINNT 0x0501" for project msclfs_store.
This removal is not effected by the patch. If anyone has a comment on what is a good strategy
for _WIN32_WINNT settings across the board, please speak up.

Regards,
Chuck

> trunk build failed  under VS10 x64.
> -----------------------------------
>
>                 Key: QPID-2643
>                 URL: https://issues.apache.org/jira/browse/QPID-2643
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.7
>         Environment: visual studio 2010 c++ express
>            Reporter: Jinius
>            Assignee: Chuck Rolke
>            Priority: Minor
>              Labels: vs10, win64
>             Fix For: Future
>
>         Attachments: Patch-2010-02.patch
>
>
> nmake compile failed at 
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\iterator(142) : error
C2039: 'value_type' : is not a memb
> er of 'qpid::framing::List'
>         C:\A.svn_qpid\cpp\include\qpid/framing/List.h(40) : see declaration of 'qpid::framing::List'
>         C:\A.svn_qpid\cpp\src\qpid\amqp_0_10\Codecs.cpp(51) : see reference to class
template instantiation 'std::insert
> _iterator<_Container>' being compiled
>         with
>         [
>             _Container=qpid::framing::List
>         ]
>         C:\svn_qpid\cpp\src\qpid\amqp_0_10\Codecs.cpp(83) : see reference to function
template instantiation 'void qpi
> d::amqp_0_10::convert<qpid::types::Variant::List,qpid::framing::List,boost::shared_ptr<T>(__cdecl
*)(const qpid::types::
> Variant &)>(const std::list<_Ty> &,U &,F)' being compiled
>         with
>         [
>             T=qpid::framing::FieldValue,
>             _Ty=qpid::types::Variant,
>             U=qpid::framing::List,
>             F=boost::shared_ptr<qpid::framing::FieldValue> (__cdecl *)(const qpid::types::Variant
&)
>         ]
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\iterator(149) : error
C2182: '_Val' : illegal use of type
>  'void'
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\iterator(156) : error
C2182: '_Val' : illegal use of type
>  'void'
> NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"'
: return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"'
: return code '0x2'

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message