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

From: Date: Thu, 06 Jun 2002 17:48:02 +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-9655@lists.php.net to get a copy of this message
ID: 17628 Updated by: long@kestrel.cc.ku.edu Reported By: long@kestrel.cc.ku.edu Status: Open Bug Type: Compile Failure Operating System: Tru64 4.0F PK 3 PHP Version: 4.2.1 New Comment: Same things goes for ext/exif/exif.c. There are several // comments in the file. Previous Comments: ------------------------------------------------------------------------ [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 (#9655) next »