#define vfprintf
Jeffrey A Law
law@cygnus.com
Thu Apr 9 17:44:00 GMT 1998
In message < r2iuojeyg0.fsf@happy.cygnus.com >you write:
> law@cygnus.com (Jeffrey A Law) writes:
>
> > extern vfprintf ();
> >
> > Some compilers (notably HPs) will give an error because you don't
> > pass enough arguments to the "macro":
>
> This code is bogus. The source must be
>
> #ifndef vfprintf
> extern vfprintf ();
> #endif
>
>
> The C standard explicitly says that each function can be defined as a
> macro (in addition to a function definition).
Bogus or not, that's what appears in the hp include files and we
must be able to compile it with the HP bundled compiler, which is
not ANSI complaint.
jeff
More information about the Gcc
mailing list