#18974 [NEW]: invalid statement in fsock.c

From: Date: Mon, 19 Aug 2002 21:51:40 +0000
Subject: #18974 [NEW]: invalid statement in fsock.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17247@lists.php.net to get a copy of this message
From: long@kestrel.cc.ukans.edu Operating system: Compaq Tru64 4.0F PK3 PHP version: 4CVS-2002-08-19 PHP Bug Type: Compile Failure Bug description: invalid statement in fsock.c When I configure php4-200208191200 using: env CFLAGS=-std1 CXXFLAGS=-std1 CC=cc CXX=cxx ./configure --with-openssl --enable-bcmath --with-ndbm --with-dbm --enable-dbase --enable-filepro --enable-ftp --with-gd --with-ttf --with-java=/usr/opt/java130 --with-mysql --with-oracle --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-wddx --enable-dba=shared --enable-calendar --enable-exif --enable-discard-path --enable-dbx --enable-ctype --with-hyperwave --enable-mailparse --enable-mbstring --enable-mbstr-enc-trans --enable-memory-limit I then get this while building: cc -Iext/standard/ -I/homeb/long/src/php4-200208191200/ext/standard/ -DPHP_ATOM_INC -I/homeb/long/src/php4-200208191200/include -I/homeb/long/src/php4-200208191200/main -I/homeb/long/src/php4-200208191200 -I/homeb/long/src/php4-200208191200/Zend -I/usr/local/ssl/include -I/usr/local/include -I/home/oracle/u01/app/oracle/product/8.0.5/rdbms/demo -I/home/oracle/u01/app/oracle/product/8.0.5/network/public -I/home/oracle/u01/app/oracle/product/8.0.5/plsql/public -I/homeb/long/src/php4-200208191200/ext/xml/expat -I/homeb/long/src/php4-200208191200/TSRM -std1 -c /homeb/long/src/php4-200208191200/ext/standard/fsock.c -o ext/standard/fsock.o && echo > ext/standard/fsock.lo cc: Error: /homeb/long/src/php4-200208191200/ext/standard/fsock.c, line 221: Invalid statement. (badstmt) Apparently it doesn't like the empty default: clause in the switch statement there because it builds fine if I just stick a break in there. -- Edit bug report at http://bugs.php.net/?id=18974&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=18974&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=18974&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18974&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18974&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18974&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18974&r=support Expected behavior: http://bugs.php.net/fix.php?id=18974&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18974&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18974&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18974&r=globals

« previous php.bugs (#17247) next »