Package: python2.4-dev Version: 2.4.3-8 Severity: normal
Using the Python C API from C++, I get the below warning for files who include Python.h. Apparently, #include <string> is incompatible with #include <Python.h> under Debian. In file included from /usr/include/python2.4/Python.h:8, from ai_python.hpp:6, from ai_python.cpp:19: /usr/include/python2.4/pyconfig.h:838:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/os_defines.h:39, from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++config.h:35, from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/string:44, from tstring.hpp:17, from terrain.hpp:17, from map.hpp:23, from actions.hpp:24, from ai.hpp:18, from ai_python.cpp:18: /usr/include/features.h:150:1: warning: this is the location of the previous definition -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2006-09-11 Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Versions of packages python2.4-dev depends on: ii python2.4 2.4.3-8 An interactive high-level object-o python2.4-dev recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]