Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2002-11-09 04:20:07


Hello,

this little test program

#include <boost/preprocessor.hpp>
int main() { return 0; }

is compiled fine by gcc 2.95.3 and gcc 3.0.4.
However gcc 3.1/3.2 (and 3.3) produce errors:

In file included from /home/boost/boost/preprocessor/array.hpp:18,
                  from /home/boost/boost/preprocessor/library.hpp:17,
                  from /home/boost/boost/preprocessor.hpp:18,
                  from x.cc:1:
/home/boost/boost/preprocessor/array/insert.hpp:50:3: #else without #if
/home/boost/boost/preprocessor/array/insert.hpp:51:1: warning:
"BOOST_PP_ARRAY_INSERT_O" redefined
/home/boost/boost/preprocessor/array/insert.hpp:49:1: warning: this is
the location of the previous definition
/home/boost/boost/preprocessor/array/insert.hpp:52:3: #endif without #if
/home/boost/boost/preprocessor/array/insert.hpp:56:3: #endif without #if
x.cc:2:1: missing binary operator
In file included from x.cc:1:
/home/boost/boost/preprocessor.hpp:20:1: unterminated #if
/home/boost/boost/preprocessor.hpp:20:1: unterminated #if

Regards,
m

http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!


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