Martin v. Löwis wrote: > Paul Watson wrote: > >> Can we #undef _ALL_SOURCE for _codecs_cn.c compilation? > > > Where does _ALL_SOURCE come from? Why is it defined? > What is its effect on hz? > > Regards, > Martin
Martin v. Löwis wrote: > Paul Watson wrote: > >> Can we #undef _ALL_SOURCE for _codecs_cn.c compilation? > > > Where does _ALL_SOURCE come from? Why is it defined? > What is its effect on hz? > > Regards, > Martin It appears that _ALL_SOURCE gets defined in the /usr/include/standards.h file. If we could #define _ANSI_C_SOURCE or _POSIX_SOURCE, it appears that it would eleminate _ALL_SOURCE. $ cat t.c #include <stdio.h> #include <stdlib.h> int main() { printf("hello, world\n"); #ifdef _ALL_SOURCE printf("hello, again\n"); #endif exit(0); } $ cc_r t.c $ ./a.out hello, world hello, again -- http://mail.python.org/mailman/listinfo/python-list