summaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-08-01 14:04:02 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-08-01 14:04:02 +0000
commitbf42e45b205e05a710de0e9fe0fc33e668fdb891 (patch)
tree186dff8557e01e179836315ff7e9868a89ea1f7b /gcc/c-opts.c
parenta5bcc58230c173c6923908cd7622dca7240f18de (diff)
downloadgcc-bf42e45b205e05a710de0e9fe0fc33e668fdb891.tar.gz
Makefile.in: Refine dependencies.
* Makefile.in: Refine dependencies. * c-opts.c (c_common_handle_option): Do nothing for -Wimport. * c.opt: Update help for -Wimport. * cppfiles.c: Include hashtab.h. Update comments. (stack_file): Read the file before updating dependencies. (once_only_file_p): Be smarter about marking once-only files. (_cpp_mark_file_once_only): Correct the check for existence on the list. (open_file_failed): Use name not path, which is NULL. * cpphash.h: Don't include hashtab.h. (struct _cpp_file): Remove. (struct cpp_reader): Update. * cppinit.c (cpp_create_reader): Don't initialize warn_import. * cpplib.h (struct cpp_options): Remove warn_import. (cpp_simplify_path): Remove. From-SVN: r70045
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index 3e4a10aafd3..e1922cb9bcb 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -484,7 +484,7 @@ c_common_handle_option (size_t scode, const char *arg, int value)
break;
case OPT_Wimport:
- cpp_opts->warn_import = value;
+ /* Silently ignore for now. */
break;
case OPT_Winvalid_offsetof: