Re: [PATCH][RFQ] - Kernel Janitor Project - Compiler Cleanups

From: Riley Williams (rhw@InfraDead.Org)
Date: Fri May 24 2002 - 03:06:10 EST


Hi Ron.

> To expose the warnings, all one needs to do is change the CC
> defination from "gcc" to "gcc -w" in the toplevel Makefile.

I seem to remember somewhere that CC should always be defined to be just
the name of the executable, and any flags should be defined in CFLAGS
rather than in CC itself. Memory says that in some circumstances, make
can do the wrong thing if this rule isn't followed.

Perhaps somebody can confirm this?

Best wishes from Riley.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:12 EST