
23 Nov
2010
23 Nov
'10
12:11 a.m.
On 11/22/2010 5:35 PM, Hossein Haeri wrote:
Dear all,
When I compile the example right after
http://beta.boost.org/doc/libs/1_45_0/doc/html/proto/users_guide.html#boost_...
I get the following error in GCC 4.5.0 (MinGW32, WinXPSP2):
error: ISO C++ forbids declaration of 'BOOST_PROTO_EXTENDS_USING_ASSIGN' with no type error: expected ';' before 'typedef'
I first thought that that's because I haven't included the right set of headers. Replaced them all with #include
and the problem remains intact. Any suggestions?
What version of Boost are you using? That macro was added fairly recently. The docs are for the latest released version. -- Eric Niebler BoostPro Computing http://www.boostpro.com