Problem with PFE approach [Was: Faster compilation speed]
Michael Matz
matz@suse.de
Mon Aug 19 02:41:00 GMT 2002
Hi,
On Sun, 18 Aug 2002, Timothy J. Wood wrote:
> Thus, if you are going to implicitly include the header, you damn
> well better included it in dependency analysis.
No, because the existance of that header shouldn't influence the outcome
of the compiler in any way.
> I can accept an argument of "this is too hard to do correctly right
> now", but not "the user screwed up". The user didn't screw up -- the
> compiler just isn't smart enough to do it correctly yet.
If the source doesn't compile without the prefix header the user did
something wrong, IOW he's screwed if he doesn't want to fix it. Period.
Ciao,
Michael.
More information about the Gcc
mailing list