aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2014-10-21 22:37:55 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2014-10-21 22:37:55 +0000
commit0e1bc4d52f9310c561b29ad14fea9b580cd9f79c (patch)
treef507703966dc67937db3415be474b223e818a3d8 /gcc
parentc1dd9790241595c417b028842bf0a7d4b2cf253a (diff)
downloadgcc-0e1bc4d52f9310c561b29ad14fea9b580cd9f79c.zip
gcc-0e1bc4d52f9310c561b29ad14fea9b580cd9f79c.tar.gz
gcc-0e1bc4d52f9310c561b29ad14fea9b580cd9f79c.tar.bz2
invoke.texi (pedantic-errors): Explain better.
2014-10-21 Manuel López-Ibáñez <manu@gcc.gnu.org> * doc/invoke.texi (pedantic-errors): Explain better. From-SVN: r216528
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi8
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6d5e2cc..803d8942 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ * doc/invoke.texi (pedantic-errors): Explain better.
+
2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
Vidya Praveen <vidya.praveen@atmel.com>
Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 644169e..c200399 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3328,8 +3328,12 @@ nothing to warn about.)
@item -pedantic-errors
@opindex pedantic-errors
-Like @option{-Wpedantic}, except that errors are produced rather than
-warnings.
+Give an error whenever the @dfn{base standard} (see @option{-Wpedantic})
+requires a diagnostic, in some cases where there is undefined behavior
+at compile-time and in some other cases that do not prevent compilation
+of programs that are valid according to the standard. This is not
+equivalent to @option{-Werror=pedantic}, since there are errors enabled
+by this option and not enabled by the latter and vice versa.
@item -Wall
@opindex Wall