Message162505
I hacked around the previous error (duplicate definitions of `collect`) and then ran into:
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o ./Include/pydtrace_offsets \
./Include/pydtrace_offsets.c
./Include/pydtrace_offsets.c: In function ‘main’:
./Include/pydtrace_offsets.c:26: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
./Include/pydtrace_offsets.c:29: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
./Include/pydtrace_offsets.c:31: warning: implicit declaration of function ‘offsetof’
./Include/pydtrace_offsets.c:31: error: expected expression before ‘PyCompactUnicodeObject’
./Include/pydtrace_offsets.c:33: error: expected expression before ‘PyCompactUnicodeObject’
make: *** [Include/pydtrace_offsets.h] Error 1
I was able to fix this by adding "#include <stddef.h>". |
|
Date |
User |
Action |
Args |
2012-06-07 21:58:03 | Marc.Abramowitz | set | recipients:
+ Marc.Abramowitz, loewis, rhettinger, jcea, ronaldoussoren, belopolsky, pitrou, wsanchez, movement, larry, benjamin.peterson, serverhorror, glyph, laca, twleung, jbaker, robert.kern, sirg3, danchr, dhduvall, dmalcolm, mjw, Garen, neologix, lasizoillo, fche, hazmat, eric.snow, jmcp, scox |
2012-06-07 21:58:03 | Marc.Abramowitz | set | messageid: <1339106283.32.0.679891583546.issue13405@psf.upfronthosting.co.za> |
2012-06-07 21:58:02 | Marc.Abramowitz | link | issue13405 messages |
2012-06-07 21:58:02 | Marc.Abramowitz | create | |
|