cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386
swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h
Dag-ErlingSmørgrav
des at des.no
Thu Feb 19 03:13:19 PST 2004
Bruce Evans <bde at zeta.org.au> writes:
> I'd prefer not to use variadic macros until we have several C99 compilers
> that support them instead of half of a C99 compiler.
CURRENT's GCC supports both ISO C variadic macro syntax and its own.
The latter is also supported in STABLE's GCC. I imagine ICC supports
at least ISO C syntax and possibly also the old GCC syntax, since it
tries to be GCC-compatible, and that both TenDRA and Watcom support
the ISO C syntax. See src/contrib/openpam/include/security/openpam.h
for an example of code that selects the right syntax depending on what
the compiler is expected to support.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list