Discussion:
C99 ?
Frédéric Raynal
2005-02-08 07:43:30 UTC
Permalink
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).

Thanks,

Fred
Andrew R. Reiter
2005-02-08 17:44:31 UTC
Permalink
On Tue, 8 Feb 2005, [iso-8859-1] Fr=E9d=E9ric Raynal wrote:

:
: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).

The macros would at least be nice. With increasing 64 bit architectures,
keeping up with format argument specifiers is nice as well.



--
Andrew R. Reiter
***@watson.org
***@FreeBSD.org
Frédéric Raynal
2005-02-08 18:04:11 UTC
Permalink
Post by Andrew R. Reiter
: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
: [ ] 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)
: - the definition snprintf()
: - the format %zu when you want to print/scan size_t arguments
: - the variadic macros (marcos with variable number of arguments).
The macros would at least be nice. With increasing 64 bit architectures,
keeping up with format argument specifiers is nice as well.
True ! I forgot to mention the "long long" type too.

Fred
Mike Schiffman
2005-02-10 21:20:18 UTC
Permalink
Sorry, I'm just the moderator, the list is maintained by the
securityfocus guys... :)
Post by Frédéric Raynal
True ! I forgot to mention the "long long" type too.
I got these messages 3 times. NO need to CC me since I'm
on the list.
Ok, sorry.
BTW. could you fix the mailer software (mailman?) to use a
"Reply-to" the group?
Mike is the only moderator of the list, so he is probably the one able
to do it.
Cheers,
Fred
--
Mike Schiffman, CISSP
http://www.packetfactory.net/schiffman
Doveryay No Proveryay

Alfredo-S21SEC
2005-02-09 08:07:07 UTC
Permalink
Hello all,
Post by Frédéric Raynal
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 :)
Great! We'll take a look asap...
Post by Frédéric Raynal
However, I'd like to know your opinions about the C99 norm: should we
Taking into account the portability that libnet bring to us i
prefere...
Post by Frédéric Raynal
[ ] Yes, use C99 as it brings many cool features for developpers
[X] No, dont use C99 as it is not supported by oldest compilers (VisualC6 for instance)

:)

Btw, how many people will go to BlackHat Europe?

See you there!! :D

Alfredo
Continue reading on narkive:
Loading...