[parameter][serialization] VC 8/9 regression test failures

The trunk regression tests are showing a large number of failures for Parameter and Serialization (and several other libraries that use them). These seem to have appeared as a result of some recent type_traits changes. -parameter- The parameter tests are failing with: ..\boost/parameter/aux_/tagged_argument.hpp(173) : error C2504: 'is_convertible' : base class undefined This can be fixed by adding # include <boost/type_traits/is_convertible.hpp> to tagged_argument.hpp -serialization- The serialization tests are failing with: ..\boost/serialization/is_abstract.hpp(43) : warning C4005: 'BOOST_IS_ABSTRACT' : macro redefinition ..\boost/type_traits/intrinsics.hpp(99) : see previous definition of 'BOOST_IS_ABSTRACT' Due to a BOOST_IS_ABSTRACT that was just added to type_traits conflicting with one that already existed in serializtion. Thanks, Richard Webb

Richard Webb <richard.webb <at> boldonjames.com> writes:
The trunk regression tests are showing a large number of failures for Parameter and Serialization (and several other libraries that use them). These seem to have appeared as a result of some recent type_traits changes.
-parameter- The parameter tests are failing with:
..\boost/parameter/aux_/tagged_argument.hpp(173) : error C2504: 'is_convertible' : base class undefined
This can be fixed by adding # include <boost/type_traits/is_convertible.hpp> to tagged_argument.hpp
Anyone care to take a look at this? The problem is causing most of the parameter\accumulator tests to fail on VC8/9, and by the looks of it GCC 4.3 as well. Thanks, Richard Webb -- View this message in context: http://www.nabble.com/-parameter--serialization--VC-8-9-regression-test-fail... Sent from the Boost - Dev mailing list archive at Nabble.com.

Hi I have problemes with the serialization since I updated to boost 1.35.0 Error: intrinsics.hpp # define BOOST_IS_ABSTRACT(T) __is_abstract(T) //<-error C2059: syntax error : '__is_abstract' # define BOOST_IS_CLASS(T) __is_class(T) //this one isn't syntax higloghted, maybe not defined, too. Any idea what's the matter? I checked out the head revision and it doesn't work two. Best, SirAnn

Sören Freudiger wrote:
Hi I have problemes with the serialization since I updated to boost 1.35.0
Error: intrinsics.hpp
# define BOOST_IS_ABSTRACT(T) __is_abstract(T) //<-error C2059: syntax error : '__is_abstract' # define BOOST_IS_CLASS(T) __is_class(T) //this one isn't syntax higloghted, maybe not defined, too.
Any idea what's the matter?
No... __is_abstract is a native VC++ compiler intrinsic, the docs for C2059 suggest that something like #define __is_abstract(x) might cause this, is this possible in your case? Otherwise if you have a test case you can post I'll look into it. John.

Hi John Yes, you were right. Before I used BOOST_IS_ABSTRACT( XXX ) but now I have to use: BOOST_SERIALIZATION_ASSUME_ABSTRACT( XXX ) My fault. -----Ursprüngliche Nachricht----- Von: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] Im Auftrag von John Maddock Gesendet: Donnerstag, 1. Mai 2008 10:10 An: boost@lists.boost.org Betreff: Re: [boost] 1.35.0 - MSC8/9 error C2059: syntax error : '__is_abstract' Sören Freudiger wrote:
Hi I have problemes with the serialization since I updated to boost 1.35.0
Error: intrinsics.hpp
# define BOOST_IS_ABSTRACT(T) __is_abstract(T) //<-error C2059: syntax error : '__is_abstract' # define BOOST_IS_CLASS(T) __is_class(T) //this one isn't syntax higloghted, maybe not defined, too.
Any idea what's the matter?
No... __is_abstract is a native VC++ compiler intrinsic, the docs for C2059 suggest that something like #define __is_abstract(x) might cause this, is this possible in your case? Otherwise if you have a test case you can post I'll look into it. John. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (4)
-
John Maddock
-
Richard Webb
-
Sören Freudiger
-
Sören Freudiger