diff options
author | Gerald Pfeifer <gerald@pfeifer.com> | 2005-08-12 20:02:27 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2005-08-12 20:02:27 +0000 |
commit | 7cd5c0753930b8e530294740fa7aa7a40c0aec8a (patch) | |
tree | a747daa16ffcedebc5eae25d08b9ace605cd66ea /gcc | |
parent | a0b6babc1bfa19f722ec13416522670a948ca9fd (diff) | |
download | gcc-7cd5c0753930b8e530294740fa7aa7a40c0aec8a.zip gcc-7cd5c0753930b8e530294740fa7aa7a40c0aec8a.tar.gz gcc-7cd5c0753930b8e530294740fa7aa7a40c0aec8a.tar.bz2 |
invoke.texi (C++ Dialect Options): Add dynamic_cast to description of -Wold-style-casts.
* doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to
description of -Wold-style-casts.
From-SVN: r103044
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c0fae6..8b4512f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-08-12 Gerald Pfeifer <gerald@pfeifer.com> + + * doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to + description of -Wold-style-casts. + 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> Jakub Jelinek <jakub@redhat.com> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index cdedd81..a5491b06 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1800,9 +1800,9 @@ but disables the helpful warning. @item -Wold-style-cast @r{(C++ only)} @opindex Wold-style-cast Warn if an old-style (C-style) cast to a non-void type is used within -a C++ program. The new-style casts (@samp{static_cast}, -@samp{reinterpret_cast}, and @samp{const_cast}) are less vulnerable to -unintended effects and much easier to search for. +a C++ program. The new-style casts (@samp{dynamic_cast}, +@samp{static_cast}, @samp{reinterpret_cast}, and @samp{const_cast}) are +less vulnerable to unintended effects and much easier to search for. @item -Woverloaded-virtual @r{(C++ only)} @opindex Woverloaded-virtual |