diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-15 17:27:24 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-15 17:27:24 +0000 |
commit | 57ec1703f28579d784446d9d02798705b70b4a1a (patch) | |
tree | c9d186cae7a3eba9e15214720005db1153cf1e87 /gcc/incpath.c | |
parent | 330c430cfb36319ed0fd2ea24bec440a044fc843 (diff) | |
download | gcc-57ec1703f28579d784446d9d02798705b70b4a1a.tar.gz |
* incpath.c (remove_duplicates): If name is not a directory, issue
a warning rather than an error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/incpath.c')
-rw-r--r-- | gcc/incpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/incpath.c b/gcc/incpath.c index 9cc783f6132..91bd24154db 100644 --- a/gcc/incpath.c +++ b/gcc/incpath.c @@ -239,7 +239,7 @@ remove_duplicates (cpp_reader *pfile, struct cpp_dir *head, } } else if (!S_ISDIR (st.st_mode)) - cpp_error_with_line (pfile, CPP_DL_ERROR, 0, 0, + cpp_error_with_line (pfile, CPP_DL_WARNING, 0, 0, "%s: not a directory", cur->name); else { |