This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: patch to suggest putc/fputs over printf("string") or printf("\n")
- To: law at cygnus dot com
- Subject: Re: patch to suggest putc/fputs over printf("string") or printf("\n")
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 10 Jan 1999 20:35:53 -0800
- Cc: Joe Buck <jbuck at Synopsys dot COM>, ghazi at caip dot rutgers dot edu, egcs-patches at cygnus dot com, egcs at cygnus dot com
- References: <19129.916021568@hurl.cygnus.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Jeffrey A Law <law@hurl.cygnus.com> writes:
> I'm not familiar enough with the issues behind gettext to know why they do
> this. But it's simply wrong for the compiler to do any tranformations if the
> format string is not a compile time constant.
No, the attributes introduced allow this kind of transformation. You
admitted that you don't know the details of gettext, so why do you say
it's wrong?
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------