Re: C99 ?
Frédéric Raynal <[email protected]> Tue, 8 Feb 2005 19:04:11 +0100
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 08, 2005 at 05:44:31PM +0000, Andrew R. Reiter wrote: >=20 >=20 > On Tue, 8 Feb 2005, [iso-8859-1] Fr=E9d=E9ric Raynal wrote: >=20 > : > :Hello all, > : > :A new NG version will be released soon with almost all the protocols > :supported. We are also working on the win32 compatibility. So, things > :are going on :) > : > :However, I'd like to know your opinions about the C99 norm: should we > :use some C99 features or not in libnet: > : > : [ ] Yes, use C99 as it brings many cool features for developpers > : [ ] No, dont use C99 as it is not supported by oldest compilers > : (VisualC6 for instance) > : > : > :Mainly, the things I enjoy in C99: > : - the definition snprintf() > : - the format %zu when you want to print/scan size_t arguments > : - the variadic macros (marcos with variable number of arguments). >=20 > The macros would at least be nice. With increasing 64 bit architecture= s, > keeping up with format argument specifiers is nice as well. True ! I forgot to mention the "long long" type too. Fred