#17628 [Com]: usage of // comment causes C compiler to fail

From: Date: Tue, 20 Aug 2002 08:43:40 +0000
Subject: #17628 [Com]: usage of // comment causes C compiler to fail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17271@lists.php.net to get a copy of this message
ID: 17628 Comment by: rainer.perske@uni-muenster.de Reported By: long@kestrel.cc.ku.edu Status: Closed Bug Type: Compile Failure Operating System: Tru64 4.0F PK 3 PHP Version: 4.2.1 New Comment: This bug is NOT fixed in 4.2.2, though 4.2.2 was released weeks later than the reported bug fix. Previous Comments: ------------------------------------------------------------------------ [2002-06-06 14:00:07] mfischer@php.net This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-06-06 13:48:01] long@kestrel.cc.ku.edu Same things goes for ext/exif/exif.c. There are several // comments in the file. ------------------------------------------------------------------------ [2002-06-06 13:45:42] long@kestrel.cc.ku.edu On lines 201 and 238 of ext/dbx/dbx_sybasect.c somebody used // to comment out those two lines. // is for C++ comments, not C and causes the Compaq C compiler to signal an error and fail when compiling this file. /* ... */ should be used instead for portability. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17628&edit=1

« previous php.bugs (#17271) next »