This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cp/errfn.c
- To: gcc at gcc dot gnu dot org
- Subject: cp/errfn.c
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Fri, 7 Jul 2000 06:06:30 +0200
- Cc: Mark Mitchell <mark at codesourcery dot com>
Mark,
errfn.c uses K&R funtion definitions. As it's allways compiled by gcc, I'd
say there is no need to do so. Equally so for using VPARAMS.
And, last and least, couldn't code like the below also vanish (more specific the
ANIS_PROTOTYPES guards)? We use gcc, so we have our own varargs.h and I thus
see no reason for that.
#ifndef ANSI_PROTOTYPES
char *format;
#endif
va_list ap;
VA_START (ap, format);
#ifndef ANSI_PROTOTYPES
format = va_arg (ap, char *);
#endif
Philipp
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
#define NINODE 50 /* number of in core inodes */
#define NPROC 30 /* max number of processes */
-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h