This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for g77/fortran "format not a string literal" warnings
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch for g77/fortran "format not a string literal" warnings
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 30 Nov 1999 20:16:41 -0700
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199911302230.RAA05486@caip.rutgers.edu>you write:
> Oh, do you mean testing _VA_LIST or _VA_LIST_? I wasn't aware we
> could rely on this for all platforms. If we can, I think that's a
> much better solution. Will someone confirm what the standard says is
> the actual macro we should rely on?
Hmmm, I may have mentally over-simplified things. When compiling with
GCC we would always be able to rely on GNUC_VA_LIST, but those files
may also need to be compiled by host compilers, in which case all bets
are (unfortunately) off.
So we're probably better off with your patch instead of my idea.
jeff