| Summary: | #include <Python.h> always emits warnings when compiling with -D_GNU_SOURCE | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sir Raorn <raorn> |
| Component: | python-dev | Assignee: | Ivan Zakharyaschev <imz> |
| Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P3 | CC: | cow, george, glebfm, imz |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
| URL: | http://mail.python.org/pipermail/python-bugs-list/2004-October/025710.html | ||
Вобщем NOTABUG, за объяснениями в http://docs.python.org/c-api/intro.html#includes , с претензиями в апстрим. |
In file included from /usr/include/python2.5/Python.h:8, from if_python.c:43: /usr/include/python2.5/pyconfig.h:939:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from os_unix.h:21, from vim.h:245, from if_python.c:20: /usr/include/features.h:158:1: warning: this is the location of the previous definition In file included from /usr/include/python2.5/Python.h:8, from if_python.c:43: /usr/include/python2.5/pyconfig.h:948:1: warning: "_XOPEN_SOURCE" redefined In file included from /usr/include/stdio.h:28, from os_unix.h:21, from vim.h:245, from if_python.c:20: /usr/include/features.h:160:1: warning: this is the location of the previous definition