HAVE_MEMMOVE is absolutely defined, if one includes python2.7's
pyconfig.h:

$ cat test.c
#include <pyconfig.h>
int main () { return HAVE_MEMMOVE; }


$ gcc `python-config --cflags` -o test test.c

$ ./test

$ echo $?
1

Python headers are split between arch-agnostic and arch-specific
headers, to allow co-installation. The global
/usr/include/python2.7/pyconfig.h includes the multi-arch one (e.g.
/usr/include/x86_64-linux-gnu/python2.7/pyconfig.h) which is where the
HAVE_MEMMOVE is defined.

Header files, are meant to be parsed with a c pre-processor, not with
sed =), if anything it's a bug in application(s) by generating false
negative in it's checks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1238244

Title:
  pyconfig.h is missing HAVE_MEMMOVE

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1238244/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to