Re: missing #includes?

Jörn Engel (joern@wohnheim.fh-wedel.de)
Sat, 26 Apr 2003 22:36:23 +0200


On Sat, 26 April 2003 22:17:07 +0200, Thunder Anklin wrote:
> On Fri, Apr 25, 2003 at 11:51:19PM -0700, Randy.Dunlap wrote:
> > What's the preferred thing to do here? I would like to see explicit
> > #includes when symbols are used. Is that what others expect also?
>
> It's perlable. I might do this if you want.

If you just take the current script, there is little point in a
translation. But if you could merge it sanely with
scripts/checkincludes.pl, that might be nice.

Now, how does one check all c files for all implicitly included
symbols without writing a complete c parser or generating tons of
false positives? Maybe you can play some trick with "gcc -C -E".

Jörn

-- 
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918

- 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/