Boost logo

Boost :

From: Sören Freudiger (freud_at_[hidden])
Date: 2008-05-02 03:07:46


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_at_[hidden] [mailto:boost-bounces_at_[hidden]] Im Auftrag von John Maddock
Gesendet: Donnerstag, 1. Mai 2008 10:10
An: boost_at_[hidden]
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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk