Bug #17628 Updated: usage of // comment causes C compiler to fail

From: Date: Thu, 06 Jun 2002 18:00:08 +0000
Subject: Bug #17628 Updated: usage of // comment causes C compiler to fail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9656@lists.php.net to get a copy of this message
ID: 17628 Updated by: mfischer@php.net Reported By: long@kestrel.cc.ku.edu -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Tru64 4.0F PK 3 PHP Version: 4.2.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#9656) next »