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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to