[Bf-committers] Trouble coming up at the horizon: gcc 3.4.0 is out
Meino Christian Cramer
bf-committers@blender.org
Tue, 20 Apr 2004 18:16:24 +0200 (CEST)
Hi,
After downloading and installing gcc-3.4.0 at noticed that blender
(cvs from about 13.00 today ) is no longer compiling...
As gcc 3.4.0 has (much) improved optimization, it would be nice, if
this compiler will not hickup...
Here is the point of no return:
gcc -pipe -fPIC -funsigned-char -O2 -Wall -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -I/tmp/build/linux2/source/blender/blenkernel -Isource/blender/blenkernel -Isource/blender/blenkernel -Iintern/guardedalloc -I/tmp/build/linux2/source/blender/include -Isource/blender/include -Isource/blender/include -I/tmp/build/linux2/source/blender/blenlib -Isource/blender/blenlib -Isource/blender/blenlib -I/tmp/build/linux2/source/blender/makesdna -Isource/blender/makesdna -Isource/blender/makesdna -I/tmp/build/linux2/source/blender/python -Isource/blender/python -Isource/blender/python -I/tmp/build/linux2/source/blender/render/extern/include -Isource/blender/render/extern/include -Isource/blender/render/extern/include -I/tmp/build/linux2/source/blender/imbuf -Isource/blender/imbuf -Isource/blender/imbuf -I/tmp/build/linux2/source/blender/avi -Isource/blender/avi -Isource/blender/avi -Iintern/iksolver/extern -I/tmp/build/linux2/source/blender/blenloader -Isource/blender/blenloader -Isource/blender/blenloader -c -o /tmp/build/linux2/source/blender/blenkernel/intern/exotic.o source/blender/blenkernel/intern/exotic.c
source/blender/blenkernel/intern/exotic.c: In function `read_videoscape_nurbs':
source/blender/blenkernel/intern/exotic.c:971: warning: passing arg 1 of `Mat3MulMat3' from incompatible pointer type
source/blender/blenkernel/intern/exotic.c: In function `iv_finddata':
source/blender/blenkernel/intern/exotic.c:1190: error: invalid operands to binary -
source/blender/blenkernel/intern/exotic.c: In function `write_videoscape_mesh':
source/blender/blenkernel/intern/exotic.c:2758: warning: array subscript has type `char'
source/blender/blenkernel/intern/exotic.c:2761: warning: array subscript has type `char'
source/blender/blenkernel/intern/exotic.c:2764: warning: array subscript has type `char'
source/blender/blenkernel/intern/exotic.c: In function `write_mesh_dxf':
source/blender/blenkernel/intern/exotic.c:3347: warning: subscript has type `char'
scons: *** [/tmp/build/linux2/source/blender/blenkernel/intern/exotic.o] Error 1
scons: building terminated because of errors.
Furthermore it would be nice, when the SCons would honour the GCC
environment variable, so one coud set this to "gcc -V 3.3.3" for
example to compile blender with a still installed older version of
blender ( better solution would be if the code would compile on gcc
3.4.0, though )
Keep hacking!
Meino