
Christoph wrote:
Ok, checked it:
I did indeed #ifdef out the lines stated in the last post.
As I have said, the above two sections in regex_actions.hpp cause trouble.
Even including regex_actions.hpp causes the compiler to choke on it.
(see gcc-out1.txt for compiling just the header *with* these sections not
#ifdef'ed out.
)
I have attached a few small demos that produce the remaining problem(s).
The demo compiles (without warnings even) on gcc 4.1.2, it does not compile
(and has some warnings on gcc 3.3.3).
The compiler output of
g++ test.cpp -I $BOOST_INC
is attached ($BOOST_INC obv. points to the Boost 1.35 includes).
ii) If I include some other headers that finally cause (internally!) to
include boost/optional.hpp
(which Boost header is not that important,