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: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 03:23:25 -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 #12 from tromey at gcc dot gnu dot org 2007-01-21 03:23 -------
One odd thing here is that if -Werror is given, then an inaccessible
directory will cause a compilation failure.
I would prefer we not check this patch in. I don't think there is
any "obviously correct" behavior on EACCES, but in general it seems
to me that EACCES during the search for include files probably represents
a problem with the user's setup -- something the user would want to
be notified about.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15772