Re: cvs: php-src /ext/com_dotnet com_extension.c /sapi/caudium caudium.c

From: Date: Mon, 25 Apr 2005 18:32:41 +0000
Subject: Re: cvs: php-src /ext/com_dotnet com_extension.c /sapi/caudium caudium.c
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31600@lists.php.net to get a copy of this message
On Mon, 25 Apr 2005, Wez Furlong wrote: > Read my comment again. > That code is ONLY ever compiled using a C++ compiler. Did you actually read the url? ;-) > > http://lxr.php.net/source/php-src/CODING_STANDARDS#169 I quote: 169 [1] Never use C++ style comments (i.e. // comment). Always use C-style 170 comments instead. PHP is written in C, and is aimed at compiling 171 under any ANSI-C compliant compiler. Even though many compilers 172 accept C++-style comments in C code, you have to ensure that your 173 code would compile with other compilers as well. 174 The only exception to this rule is code that is Win32-specific, 175 because the Win32 port is MS-Visual C++ specific, and this compiler 176 is known to accept C++-style comments in C code. Although I do think we normally should not make this exception... regards, Derick

« previous php.cvs (#31600) next »