This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/15772] Preprocessing fails if an inaccessible directory is on include path



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]