Nmap Development mailing list archives

Re: [PATCH] Change C++ comments to C comments in nmapfe and nsock


From: Andreas Ericsson <ae () op5 se>
Date: Wed, 03 Jan 2007 13:30:52 +0100

Kris Katterjohn wrote:
Jan Engelhardt wrote:
On Dec 31 2006 20:26, Kris Katterjohn wrote:
initializers that might happen to be around somewhere. (If I had to 
judge: go with C99, and forget old compilers.)
When it's something basic and costs nothing (like // vs /**/), why not
have it compatible with older ones?
If they _still_ don't compile after changing it to /**/, why change it 
at all..


     -`J'

Not all compilers are the same or support the same things. There are no
guarantees when it comes to this stuff :)


Also, if someone wants to make it work for very old compilers while 
using a newer one to find all the incompatibilities, this makes 
-pedantic -ansi -Wall a bit less noisy.

-- 
Andreas Ericsson                   andreas.ericsson () op5 se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: