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

Riley Williams (rhw@InfraDead.Org)
Fri, 24 May 2002 09:06:10 +0100 (BST)


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/