Bug #17628: usage of // comment causes C compiler to fail
| From: | long at kestrel dot cc dot ku dot edu | Date: | Thu, 06 Jun 2002 17:45:42 +0000 |
| Subject: | Bug #17628: usage of // comment causes C compiler to fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9654@lists.php.net to get a copy of this message | ||
From: long@kestrel.cc.ku.edu
Operating system: Tru64 4.0F PK 3
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: usage of // comment causes C compiler to fail
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 bug report at http://bugs.php.net/?id=17628&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17628&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17628&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17628&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17628&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17628&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17628&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17628&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17628&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17628&r=globals