diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-21 22:37:55 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-21 22:37:55 +0000 |
commit | 990ad9dab0f62ffa1c861598e6ef05f1aa9403d9 (patch) | |
tree | f507703966dc67937db3415be474b223e818a3d8 | |
parent | b4e6d2e216ec46cff3736cac984f09733c34f91a (diff) | |
download | gcc-990ad9dab0f62ffa1c861598e6ef05f1aa9403d9.tar.gz |
2014-10-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
* doc/invoke.texi (pedantic-errors): Explain better.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216528 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d5e2cc908d..803d8942281 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 644169e7b9a..c200399bac5 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 |