Message162505
| Author |
Marc.Abramowitz |
| Recipients |
Garen, Marc.Abramowitz, belopolsky, benjamin.peterson, danchr, dhduvall, dmalcolm, eric.snow, fche, glyph, hazmat, jbaker, jcea, jmcp, laca, larry, lasizoillo, loewis, mjw, movement, neologix, pitrou, rhettinger, robert.kern, ronaldoussoren, scox, serverhorror, sirg3, twleung, wsanchez |
| Date |
2012年06月07日.21:58:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339106283.32.0.679891583546.issue13405@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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>". |
|
History
|
|---|
| 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 |
|