Boost logo

Boost Users :

Subject: [Boost-users] BOOST_PROTO_EXTENDS_USING_ASSIGN
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2010-11-22 17:35:59


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_proto.users_guide.front_end.adding_members_by_extending_expressions.extends

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 <boost/proto/proto.hpp> and the problem remains intact. Any suggestions?

TIA,
--Hossein


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net