Bug #1267: C++ comments in C source files

From: Date: Fri, 26 Mar 1999 02:56:55 +0000
Subject: Bug #1267: C++ comments in C source files
Groups: php.dev 
Request: Send a blank email to php-dev+get-4768@lists.php.net to get a copy of this message
From: squyres@cse.nd.edu Operating system: Solaris 2.5.1/2.6 PHP version: 3.0.7 PHP Bug Type: Compile Failure Bug description: C++ comments in C source files The Sun Workshop 4.2 compilers do not allow C++-style comments (//) in C source files by default. There are two statements in C source files in the 3.0.7 release that include C++ comments: php.h line 148: //#include "compat.h" functions/php3_string.h line 93: //extern PHPAPI char *_StrTr(char *string, char *str_from, char *str_to); Deleting these lines, or changing them to C-style comments does the trick. Jeff Squyres -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4768) next »