This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to suggest putc/fputs over printf("string") or printf("\n")
- To: egcs-patches 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 10:39:55 -0800
- Newsgroups: cygnus.egcs.patches
- Organization: Cygnus Solutions
- References: <199901100718.CAA06898@caip.rutgers.edu>, <16967.915956265.cygnus.egcs.patches@hurl.cygnus.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
law@cygnus.com (Jeffrey A Law) writes:
> Actually, I'd consider a patch which conditionally converted them for the
> user.
This is no good idea. The user has to have the liberty to write code
like this. I can provide you questionable, but working example where
automatic changing would break the program. Warnings are appropriate.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------