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]

Re: patch to suggest putc/fputs over printf("string") or printf("\n")


> Date: Tue, 12 Jan 1999 02:21:10 -0700
> From: Jeffrey A Law <law@hurl.cygnus.com>

> One location would be at the source level in the preprocessor.

Unless there is something about printf being a macro, I think one can
have a printf member in a user defined class, and figuring this out in
cpp will be hard:

class A { void foo() { printf("Hi ya\n"); } printf(const char *); };

:-(


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