summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/doc/cppopts.texi
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/doc/cppopts.texi')
-rw-r--r--contrib/gcc/doc/cppopts.texi16
1 files changed, 7 insertions, 9 deletions
diff --git a/contrib/gcc/doc/cppopts.texi b/contrib/gcc/doc/cppopts.texi
index c1d732b..024d255 100644
--- a/contrib/gcc/doc/cppopts.texi
+++ b/contrib/gcc/doc/cppopts.texi
@@ -347,17 +347,15 @@ current directory.
@end ifclear
@item -x c
@itemx -x c++
-@itemx -x objective-c
@itemx -x assembler-with-cpp
@opindex x
-Specify the source language: C, C++, Objective-C, or assembly. This has
-nothing to do with standards conformance or extensions; it merely
-selects which base syntax to expect. If you give none of these options,
-cpp will deduce the language from the extension of the source file:
-@samp{.c}, @samp{.cc}, @samp{.m}, or @samp{.S}. Some other common
-extensions for C++ and assembly are also recognized. If cpp does not
-recognize the extension, it will treat the file as C; this is the most
-generic mode.
+Specify the source language: C, C++, or assembly. This has nothing to
+do with standards conformance or extensions; it merely selects which
+base syntax to expect. If you give none of these options, cpp will
+deduce the language from the extension of the source file: @samp{.c},
+@samp{.cc}, or @samp{.S}. Some other common extensions for C++ and
+assembly are also recognized. If cpp does not recognize the extension,
+it will treat the file as C; this is the most generic mode.
@emph{Note:} Previous versions of cpp accepted a @option{-lang} option
which selected both the language and the standards conformance level.
OpenPOWER on IntegriCloud