From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: ghazi@caip.rutgers.edu Cc: egcs@cygnus.com Subject: #define vfprintf Date: Wed, 08 Apr 1998 15:08:00 -0000 Message-id: <25235.892064821@hurl.cygnus.com> X-SW-Source: 1998-04/msg00336.html 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