Re: [PATCH] Re: 2.5.3-pre1 compile error

Dave Jones (davej@suse.de)
Wed, 16 Jan 2002 01:55:13 +0100


On Tue, Jan 15, 2002 at 04:41:08PM -0800, Linus Torvalds wrote:
> > #ifndef _LINUX_POSIX_TYPES_H /* __FD_CLR */
> > #include <linux/posix_types.h>
> > #endif
> If this actally makes any noticeable difference to compilation speed I
> could live with it. Does it?

I'm sure I read somewhere that gcc is clever enough to know
when it hits a #include, it checks for a symbol equal to a
mangled version of the filename before including it.
(Ie, doing this transparently).

Then again, I may have imagined it all.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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/