Boost logo

Boost Users :

From: Dr. Ian McDonald (ianm_at_[hidden])
Date: 2002-02-14 08:34:23


Hi,

I have some compile problems when I include regex.hpp from boost 1.27.0,
that seem to be internal to the interaction between my platform and
compiler.

Are these known problems, and if so, what is the solution?

ratts:~/cpp/classperf$ uname -a
Linux ratts 2.2.6 #46 Tue Apr 27 16:40:54 CDT 1999 i486 unknown
ratts:~/cpp/classperf$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.3/specs
gcc version 2.7.2.3

g++ performer.cpp
In file included from /usr/local/include/boost/regex.hpp:44,
                 from classperf.h:5,
                 from performer.cpp:1:
/usr/local/include/boost/regex/detail/regex_stack.hpp:47: parse error before
`<'
/usr/local/include/boost/regex/detail/regex_stack.hpp:52: `Allocator' was
not declared in this scope
/usr/local/include/boost/regex/detail/regex_stack.hpp:52: template argument
2 is invalid
/usr/local/include/boost/regex/detail/regex_stack.hpp:52: `type' is not a
class or namespace
/usr/local/include/boost/regex/detail/regex_stack.hpp:52: warning: ANSI C++
forbids typedef which does not specify a type
/usr/local/include/boost/regex/detail/regex_stack.hpp:52: confused by
earlier errors, bailing out

Thanks,

Ian

--
Dr. Ian McDonald
Website Developer, No Fuss Websites.com
T: +44 (0) 20 761 32110   F: +44 (0) 20 769 25461
--
Dr. Ian McDonald
Website Developer, No Fuss Websites.com
T: +44 (0) 20 761 32110   F: +44 (0) 20 769 25461

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