Not really a bug. Just a warning which might be
easy to cleanup with an ifndef. If the following simple
file is compiled with gcc-3.2.2 on redhat-8.0 (i686) using
the c++ compiler, you get the following warning:
--------------------- test.C -------------------
#include <iostream>
#include <Python.h>
-----------------------------------------------
In file included from
/usr/local/python-2.3a2/include/python2.3/Python.h:8,
from test.C:2:
/usr/local/python-2.3a2/include/python2.3/pyconfig.h:819:1:
warning: "_POSIX_C_SOURCE" redefined
In file included from
/usr/local/gcc-3.2.2/include/c++/3.2.2/i686-pc-linux-gnu/bits/os_defines.h:39,
from
/usr/local/gcc-3.2.2/include/c++/3.2.2/i686-pc-linux-gnu/bits/c++config.h:34,
from
/usr/local/gcc-3.2.2/include/c++/3.2.2/iostream:44,
from test.C:1:
/usr/include/features.h:131:1: warning: this is the
location of the previous definition
|