php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1424 '//' does NOT start a comment in ANSI C
Submitted: 1999-05-18 14:04 UTC Modified: 1999-05-18 22:06 UTC
From: lars at larsshack dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.7 OS: Irix 6.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 + 16 = ?
Subscribe to this entry?

 
 [1999-05-18 14:04 UTC] lars at larsshack dot org
A few lines of the php source code have been commented out using the C++ style '//' comment delimiter.  This is fine in a GNU environment, but causes the build to fall over in a strict ANSI environment.

The fix:  /* use real comments */

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-18 22:06 UTC] rasmus at cvs dot php dot net
These have been fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 21:01:33 2024 UTC