mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 15:41:09 +08:00
incpath.c (remove_duplicates): If name is not a directory, issue a warning rather than an error.
* incpath.c (remove_duplicates): If name is not a directory, issue a warning rather than an error. From-SVN: r164314
This commit is contained in:
parent
1faab08daf
commit
46327e1294
@ -1,3 +1,8 @@
|
||||
2010-09-15 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* incpath.c (remove_duplicates): If name is not a directory, issue
|
||||
a warning rather than an error.
|
||||
|
||||
2010-09-15 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR middle-end/45644
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user