c.opt (Wimport): Mark as undocumented.
authorTom Tromey <tromey@redhat.com>
Thu, 22 May 2008 00:26:36 +0000 (00:26 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 22 May 2008 00:26:36 +0000 (00:26 +0000)
* c.opt (Wimport): Mark as undocumented.
* doc/invoke.texi (Option Summary): Don't mention -Wimport or
-Wno-import.
(Warning Options): Likewise.
* doc/cppopts.texi: Don't mention -Wimport.

From-SVN: r135747

gcc/ChangeLog
gcc/c.opt
gcc/doc/cppopts.texi
gcc/doc/invoke.texi

index 1bf285e82fe368f30824fcdcc007d0afb3639e2a..62dfb36f0416ad3661dc7b7ded0ab015722c09ab 100644 (file)
@@ -1,3 +1,11 @@
+2008-05-21  Tom Tromey  <tromey@redhat.com>
+
+       * c.opt (Wimport): Mark as undocumented.
+       * doc/invoke.texi (Option Summary): Don't mention -Wimport or
+       -Wno-import.
+       (Warning Options): Likewise.
+       * doc/cppopts.texi: Don't mention -Wimport.
+
 2008-05-21  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR tree-optimization/36287
index 09d5187bd2fef267912689b7f35a9295259f3706..1df0666f6602a8017187b81ad9de7d71a0e6226b 100644 (file)
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -258,8 +258,7 @@ C ObjC Var(warn_implicit_int) Warning
 Warn when a declaration does not specify a type
 
 Wimport
-C ObjC C++ ObjC++
-Deprecated.  This switch has no effect
+C ObjC C++ ObjC++ Undocumented
 
 Wint-to-pointer-cast
 C ObjC Var(warn_int_to_pointer_cast) Init(1) Warning
index 0cdfa1b2f9a89e6478707a6ba6fcfc250895620e..f1b6ebeef944b735568a676d81e45ed8b9a47c6d 100644 (file)
@@ -115,10 +115,6 @@ equivalent, and problematic constructs which should be avoided.
 @xref{Traditional Mode}.
 @end ifset
 
-@item -Wimport
-@opindex Wimport
-Warn the first time @samp{#import} is used.
-
 @item -Wundef
 @opindex Wundef
 Warn whenever an identifier which is not a macro is encountered in an
index 4c0520349c0a9786d148fd9b721741e2ee5f3bc3..842755d1a24a5014c16bafa8d2d32b78ff954eac 100644 (file)
@@ -239,7 +239,7 @@ Objective-C and Objective-C++ Dialects}.
 -Wformat-security  -Wformat-y2k @gol
 -Wframe-larger-than=@var{len} -Wignored-qualifiers @gol
 -Wimplicit  -Wimplicit-function-declaration  -Wimplicit-int @gol
--Wimport  -Wno-import  -Winit-self  -Winline @gol
+-Winit-self  -Winline @gol
 -Wno-int-to-pointer-cast -Wno-invalid-offsetof @gol
 -Winvalid-pch -Wlarger-than=@var{len}  -Wunsafe-loop-optimizations @gol
 -Wlogical-op -Wlong-long @gol
@@ -2765,11 +2765,6 @@ constructor.
 
 @end itemize
 
-@item -Wno-import
-@opindex Wno-import
-@opindex Wimport
-Inhibit warning messages about the use of @samp{#import}.
-
 @item -Wchar-subscripts
 @opindex Wchar-subscripts
 @opindex Wno-char-subscripts