Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos

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

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

From: Andreas Ericsson <ae_at_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_at_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
Received on Jan 03 2007
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]