Message203978
using the only mpdecimal release (2.3):
building '_decimal' extension
creating build/temp.linux-x86_64-3.3/scratch/packages/python/3.3/python3.3-3.Modules/_decimal
x86_64-linux-gnu-gcc -pthread -fPIC -D_FORTIFY_SOURCE=2 -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fprofile-generate -g -flto -fuse-linker-plugin -DCONFIG_64=1 -DASM=1 -I../Include -I. -IInclude -I/usr/include/x86_64-linux-gnu -I/scratch/packages/python/3.3/python3.3-3.3.3/Include -I/scratch/packages/python/3.3/python3.3-3.3.3/build-static -c /scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c -o build/temp.linux-x86_64-3.3/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.o -Wextra -Wno-missing-field-initializers
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c: In function 'dectuple_as_str':
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:2522:47: error: expected ')' before 'PRI_mpd_ssize_t'
n = snprintf(cp, MPD_EXPDIGITS+2, "%" PRI_mpd_ssize_t, exp);
^
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:2522:47: warning: spurious trailing '%' in format [-Wformat=]
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:2522:47: warning: spurious trailing '%' in format [-Wformat=]
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c: In function 'dec_str':
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:3075:5: warning: implicit declaration of function 'mpd_to_sci_size' [-Wimplicit-function-declaration]
size = mpd_to_sci_size(&cp, MPD(dec), CtxCaps(context));
^
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c: In function 'dec_format':
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:3243:9: warning: implicit declaration of function 'mpd_validate_lconv' [-Wimplicit-function-declaration]
if (mpd_validate_lconv(&spec) < 0) {
^
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c: In function 'dec_as_long':
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:3340:5: warning: passing argument 1 of 'mpd_qexport_u32' from incompatible pointer type [enabled by default]
n = mpd_qexport_u32(&ob_digit, 0, PyLong_BASE, x, &status);
^
In file included from /scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:34:0:
/usr/include/x86_64-linux-gnu/mpdecimal.h:474:8: note: expected 'uint32_t *' but argument is of type 'digit **'
size_t mpd_qexport_u32(uint32_t *rdata, size_t rlen, uint32_t base,
^
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c: In function 'dec_mpd_to_eng':
/scratch/packages/python/3.3/python3.3-3.Modules/_decimal/_decimal.c:4136:5: warning: implicit declaration of function 'mpd_to_eng_size' [-Wimplicit-function-declaration]
size = mpd_to_eng_size(&s, MPD(self), CtxCaps(context));
^ |
|
Date |
User |
Action |
Args |
2013-11-23 08:33:00 | doko | set | recipients:
+ doko |
2013-11-23 08:33:00 | doko | set | messageid: <1385195580.05.0.00984042109495.issue19732@psf.upfronthosting.co.za> |
2013-11-23 08:33:00 | doko | link | issue19732 messages |
2013-11-23 08:32:59 | doko | create | |
|