|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-23 11:59 UTC] gareth at fission dot org dot uk
[2013-07-30 02:55 UTC] yohgaki@php.net
-Status: Assigned
+Status: Closed
[2013-07-30 02:55 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 18:00:01 2025 UTC |
Description: ------------ Using latest mipspro cc compiler 7.4.2m dont compile imlib2.c. Reproduce code: --------------- cc -I. -I/usr2/MIPS/imlib2-0.1.00_build -DPHP_ATOM_INC -I/usr2/MIPS/imlib2-0.1.00_build/include -I/usr2/MIPS/imlib2-0.1.00_build/main -I/usr2/MIPS/imlib2-0.1.00_build -I/usr/nekoware/php5/include/php -I/usr/nekoware/php5/include/php/main -I/usr/nekoware/php5/include/php/Zend -I/usr/nekoware/php5/include/php/TSRM -I/usr/local/include -I/usr/nekoware/include -DHAVE_CONFIG_H -O3 -mips4 -I/usr/nekoware/include -OPT:Olimit=0:roundoff=3 -TARG:platform=IP27:proc=r10000 -c /usr2/MIPS/imlib2-0.1.00_build/imlib2.c -DPIC -o imlib2.lo cc-1241 cc: ERROR File = /usr2/MIPS/imlib2-0.1.00_build/imlib2.c, Line = 647 A declaration cannot appear after an executable statement in a block. double ng; ^ cc-1241 cc: ERROR File = /usr2/MIPS/imlib2-0.1.00_build/imlib2.c, Line = 679 A declaration cannot appear after an executable statement in a block. double nc; ^ [..] Moving the declaration above the statement solve all this errors. A patch can be found under http://www.irixworld.net/imlib2-0.1.00_irix_patch regards Joerg Expected result: ---------------- No Compiler error Actual result: -------------- Compiler error