id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3926	MapServer 6.0 with mapscript does not compile	slemke	aboudreault	"Hi !

System: CentOS 5.6[[BR]]
PHP 5.2 from testing repos, 5.3 also tested[[BR]]
MapServer 6.0, trunk and branch-6-0 also tested


{{{
cd mapscript/php; make; cd ../..
make[1]: Entering directory `/usr/src/mapserver-6.0.0/mapscript/php'
gcc -fPIC -O2 -fPIC -Wall  -DNDEBUG  -DUSE_PHP_REGEX -DCOMPILE_DL=1  -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE  -I/usr/src/mapserver-6.0.0              -Irenderers/agg/include   -I/usr/include   -I/usr/include/freetype2  -I/usr/include/php -I/usr/include/php/dl -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/include -I/usr/include/php/TSRM  -I/usr/include/php -c -o php_mapscript_util.o php_mapscript_util.c
php_mapscript_util.c: In function âmapscript_extract_associative_arrayâ:
php_mapscript_util.c:79: warning: dereferencing type-punned pointer will break strict-aliasing rules
php_mapscript_util.c: In function âmapscript_fetch_objectâ:
php_mapscript_util.c:159: warning: implicit declaration of function âzval_set_isref_pâ
gcc -fPIC -O2 -fPIC -Wall  -DNDEBUG  -DUSE_PHP_REGEX -DCOMPILE_DL=1  -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE  -I/usr/src/mapserver-6.0.0              -Irenderers/agg/include   -I/usr/include   -I/usr/include/freetype2  -I/usr/include/php -I/usr/include/php/dl -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/include -I/usr/include/php/TSRM  -I/usr/include/php -c -o mapscript_error.o mapscript_error.c
gcc -fPIC -O2 -fPIC -Wall  -DNDEBUG  -DUSE_PHP_REGEX -DCOMPILE_DL=1  -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE  -I/usr/src/mapserver-6.0.0              -Irenderers/agg/include   -I/usr/include   -I/usr/include/freetype2  -I/usr/include/php -I/usr/include/php/dl -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/include -I/usr/include/php/TSRM  -I/usr/include/php -c -o color.o color.c
color.c: In function âzim_colorObj___getâ:
color.c:66: error: âTRUEâ undeclared (first use in this function)
color.c:66: error: (Each undeclared identifier is reported only once
color.c:66: error: for each function it appears in.)
color.c: In function âzim_colorObj___setâ:
color.c:93: error: âTRUEâ undeclared (first use in this function)
color.c: In function âzim_colorObj_setRGBâ:
color.c:121: error: âTRUEâ undeclared (first use in this function)
make[1]: *** [color.o] Error 1
make[1]: Leaving directory `/usr/src/mapserver-6.0.0/mapscript/php'
}}}


Thanks,
Sebastian"	defect	closed	normal		MapScript-PHP	6.0	blocker	fixed		
