#define vfprintf
Jeffrey A Law
law@cygnus.com
Wed Apr 8 15:08:00 GMT 1998
Unfortunately it is not safe to #define vfprintf with arguments.
Consider what happens if a header file in /usr/include looks like
this:
extern vfprintf ();
Some compilers (notably HPs) will give an error because you don't
pass enough arguments to the "macro":
cpp: "stdio.h", line 216: warning 2005: vfprintf: Too few parameters (1) to macr
Jeff Law (law@cygnus.com)
Cygnus Solutions EGCS GNU Compiler System
http://www.cygnus.com http://www.cygnus.com/egcs
More information about the Gcc
mailing list