« Return to Thread: [parameter][serialization] VC 8/9 regression test failures

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

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

Reply to Author | View in Thread

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

 « Return to Thread: [parameter][serialization] VC 8/9 regression test failures