[cfe-dev] -Wimplicit-function-declaration doesn't work?

Alexei Svitkine alexei.svitkine at gmail.com
Wed Jan 28 14:09:52 PST 2009


I'm trying to get the warning output of the code:

int main(void)
{
	strcmp("abc","def");
	return 0;
}

However, running "clang -Wimplicit-function-declaration" doesn't seem
to produce any output.

Am I doing something wrong?

-Alexei



More information about the cfe-dev mailing list