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

View: New views
5 Messages — Rating Filter:   Alert me  

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

by Richard Webb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [parameter][accumulators] VC 8/9 regression test failures

by Richard Webb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

1.35.0 - MSC8/9 error C2059: syntax error : '__is_abstract'

by Sören Freudiger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: 1.35.0 - MSC8/9 error C2059: syntax error : '__is_abstract'

by John Maddock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: 1.35.0 - MSC8/9 error C2059: syntax error : '__is_abstract'

by Sören Freudiger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... [mailto:boost-bounces@...] Im Auftrag von John Maddock
Gesendet: Donnerstag, 1. Mai 2008 10:10
An: boost@...
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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost