This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: #define vfprintf
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: #define vfprintf
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 09 Apr 1998 17:23:56 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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