Version ------- BZFlag SVN r20687 Setup ----- amd64 debian/testing g++ (Debian 4.3.4-6) 4.3.4 SWIG Version 1.3.40 ./configure --enable-debug --enable-bzrobots-python PythonScript.cxx ---------------- In file included from /usr/include/python2.5/Python.h:8, from PythonScript.h:26, from PythonScript.cxx:13: /usr/include/python2.5/pyconfig.h:967:1: error: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from ../../include/common.h:30, from PythonScript.h:16, from PythonScript.cxx:13: /usr/include/features.h:158:1: error: this is the location of the previous definition In file included from /usr/include/python2.5/Python.h:8, from PythonScript.h:26, from PythonScript.cxx:13: /usr/include/python2.5/pyconfig.h:979:1: error: "_XOPEN_SOURCE" redefined In file included from /usr/include/stdio.h:28, from ../../include/common.h:30, from PythonScript.h:16, from PythonScript.cxx:13: /usr/include/features.h:160:1: error: this is the location of the previous definition cc1plus: warnings being treated as errors In file included from PythonScript.cxx:15: bzrobot_python_runtime.h:1052: error: unused parameter 'self' bzrobot_python_runtime.h:1052: error: unused parameter 'func' bzrobot_python_runtime.h: In function 'PyObject* SwigPyObject_repr(SwigPyObject*)': bzrobot_python_runtime.h:1453: error: format '%p' expects type 'void*', but argument 3 has type 'SwigPyObject*' bzrobot_python_runtime.h: At global scope: bzrobot_python_runtime.h:2631: error: unused parameter 'argnum' ScriptLoaderFactory.cxx ----------------------- In file included from /usr/include/python2.5/Python.h:8, from PythonScript.h:26, from ScriptLoaderFactory.cxx:22: /usr/include/python2.5/pyconfig.h:967:1: error: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from ../../include/common.h:30, from ScriptLoaderFactory.h:16, from ScriptLoaderFactory.cxx:14: /usr/include/features.h:158:1: error: this is the location of the previous definition In file included from /usr/include/python2.5/Python.h:8, from PythonScript.h:26, from ScriptLoaderFactory.cxx:22: /usr/include/python2.5/pyconfig.h:979:1: error: "_XOPEN_SOURCE" redefined In file included from /usr/include/stdio.h:28, from ../../include/common.h:30, from ScriptLoaderFactory.h:16, from ScriptLoaderFactory.cxx:14: /usr/include/features.h:160:1: error: this is the location of the previous definition