This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
assuming C89?
- From: Eric Blake <ebb9 at byu dot net>
- To: newlib at sources dot redhat dot com
- Date: Wed, 14 Mar 2007 06:35:34 -0600
- Subject: assuming C89?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I know that newlib was originally started from code that predates C89,
hence all the macros in <_ansi.h> such as _DEFUN, _AND, and so forth to
allow compilation with either K&R prototypes or standard prototypes. But
is it still the case that K&R syntax must be supported, or can new files
assume C89 and avoid the contortions? Similarly, can we now assume that
_HAVE_STDC is always defined, that <stdarg.h> always exists, and other
forms of C89 assumptions, or do new files still have to cater to the
possibility of obsolete <varargs.h>?
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF9+wT84KuGfSFAYARAuFKAJ4z6Y+LOSRiQc79lkZoW9vXjTaIVQCfam3M
1n656w+EHpB7y4naE6Ztnlw=
=6ovu
-----END PGP SIGNATURE-----