|
Boost : |
From: Neal D. Becker (nbecker_at_[hidden])
Date: 2002-10-15 08:52:56
Here is my test case:
greet.cc--------------
char const* greet()
{
return "hello, world";
}
#include <boost/python.hpp>
using namespace boost::python;
BOOST_PYTHON_MODULE(hello)
{
def("greet", greet);
}
g++ -shared -o greet.so greet.cc -I /usr/local/src/boost -I /usr/include/python2.2
In file included from /usr/local/src/boost/boost/python.hpp:43,
from greet.cc:5:
/usr/local/src/boost/boost/python/operators.hpp:184:42: warning: pasting "operator" and "+" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:185:42: warning: pasting "operator" and "-" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:186:42: warning: pasting "operator" and "*" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:187:42: warning: pasting "operator" and "/" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:188:42: warning: pasting "operator" and "%" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:189:49: warning: pasting "operator" and "<<" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:190:49: warning: pasting "operator" and ">>" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:191:42: warning: pasting "operator" and "&" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:192:42: warning: pasting "operator" and "^" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:193:40: warning: pasting "operator" and "|" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:194:39: warning: pasting "operator" and ">" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:195:40: warning: pasting "operator" and ">=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:196:39: warning: pasting "operator" and "<" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:197:40: warning: pasting "operator" and "<=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:198:40: warning: pasting "operator" and "==" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:199:40: warning: pasting "operator" and "!=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:271:38: warning: pasting "operator" and "+=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:272:38: warning: pasting "operator" and "-=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:273:38: warning: pasting "operator" and "*=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:274:38: warning: pasting "operator" and "/=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:275:38: warning: pasting "operator" and "%=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:276:42: warning: pasting "operator" and "<<=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:277:42: warning: pasting "operator" and ">>=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:278:38: warning: pasting "operator" and "&=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:279:38: warning: pasting "operator" and "^=" does not give a valid preprocessing token
/usr/local/src/boost/boost/python/operators.hpp:280:37: warning: pasting "operator" and "|=" does not give a valid preprocessing token
In file included from greet.cc:5:
/usr/local/src/boost/boost/python.hpp:62:8: warning: extra tokens at end of #endif directive
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk