This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/15772] Preprocessing fails if an inaccessible directory is on include path
- From: "ed at catmur dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2007 21:16:39 -0000
- Subject: [Bug preprocessor/15772] Preprocessing fails if an inaccessible directory is on include path
- References: <bug-15772-8392@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from ed at catmur dot co dot uk 2007-11-14 21:16 -------
(In reply to comment #13)
> I don't see why this is different from the case where the header file cannot be
> opened.
It isn't, I guess - is there a bug about that?
> And in that case, as Tom says, it seems like there is some problem with
> the filesystem setup that the user should be aware of.
And if the user /is/ aware of the problem and isn't in a position to fix it?
Better to warn the user, and error out if -Werror is given.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15772