Notes |
|
(0000005)
|
Tron
|
2008-12-03 23:26
|
|
Are you sure you mean SDL 1.2.1? This version does not seem to contain SDL_iconv.c. I tried building SDL 1.2.13, which has SDL_iconv.c. The file compiled fine. Did you use any special flags? |
|
|
(0000008)
|
jeffz
|
2008-12-04 00:38
|
|
Yeah, I meant SDL 1.2.13.
/bin/bash ./libtool --mode=compile /home/jeffz/Desktop/cparser-0.9.7/build/cparser -g -O2 -I./include -D_GNU_SOURCE=1 -D_REENTRANT -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/stdlib/SDL_iconv.c -o build/SDL_iconv.lo |
|
|
(0000011)
|
Matze
|
2008-12-05 11:19
|
|
I really can't reproduce this even with vanilla SDL 1.2.13 and your switches.
So it would be helpfull if you could give us some more details about your system (maybe you have a 64bit box or something which could explain the effects) and preprocessed sources would also be a good thing (use the same commandline with -E instead of -c to get preprocessed source). |
|
|
(0000012)
|
jeffz
|
2008-12-05 12:01
|
|
Yeah, I'm using 64bit Ubuntu 8.04. I've reduced the error to the attached testcase. |
|
|
(0000013)
|
jeffz
|
2008-12-05 12:04
|
|
Also attached for reference is the preprocessed (-E) output of the testcase. |
|
|
(0000014)
|
jeffz
|
2008-12-05 12:30
|
|
I can confirm that if I rebuild cparser and libfirm as 32bit by running CC="gcc -m32" ./configure, then the issue does not occur. |
|
|
(0000016)
|
xt3firm
|
2008-12-05 15:39
|
|
Fixed by r24329, was mixture of long and int types. |
|