This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

"format not a string literal" warning from glibc2.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]