diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-21 23:20:57 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-21 23:20:57 +0000 |
commit | 26124181f97a106073e1a533180eead0439d0522 (patch) | |
tree | 7f2916823ddf06a8cbd53d137fb444c1a1f47cc9 /gcc/invoke.texi | |
parent | 08dafb06b23260ab632a6088bfcaa18ded9bed22 (diff) | |
download | gcc-26124181f97a106073e1a533180eead0439d0522.tar.gz |
Minor tweak from Gerald Pfeifer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18741 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r-- | gcc/invoke.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi index d13f5bc9c1f..248bc34355d 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -1188,13 +1188,13 @@ CC: Check the code for syntax errors, but don't do anything beyond that. @item -pedantic -Issue all the warnings demanded by strict ANSI standard C; reject -all programs that use forbidden extensions. +Issue all the warnings demanded by strict ANSI C and ISO C++; +reject all programs that use forbidden extensions. -Valid ANSI standard C programs should compile properly with or without +Valid ANSI C and ISO C++ programs should compile properly with or without this option (though a rare few will require @samp{-ansi}). However, -without this option, certain GNU extensions and traditional C features -are supported as well. With this option, they are rejected. +without this option, certain GNU extensions and traditional C and C++ +features are supported as well. With this option, they are rejected. @samp{-pedantic} does not cause warning messages for use of the alternate keywords whose names begin and end with @samp{__}. Pedantic |