This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"format not a string literal" warning from glibc2.1
- To: gcc at gcc dot gnu dot org
- Subject: "format not a string literal" warning from glibc2.1
- From: David Starner <dvdeug at x8b4e53cd dot dhcp dot okstate dot edu>
- Date: Thu, 14 Oct 1999 00:25:13 -0500
- Reply-To: dstarner98 at aasaa dot ofe dot org
I'm compiling the latest snapshot right now on i686-linux-gnu running
glibc2.1. This warning keeps popping up for /usr/include/bits/stdio.h,
which is an inline function version of vprintf that uses vfprintf (see
below). What can be done on GCC's end or glibc's end to stop this
warning from coming up every time stdio.h is included?
(After all the dangly irrelevant bits are shorn, the function is -
inline int vprintf (const char * fmt, va_list arg) {
return vfprintf (stdout, fmt, arg);
}
)
David Starner - dstarner98@aasaa.ofe.org
ftp, web - x8b4e53cd.dhcp.okstate.edu