invoke.texi (C++ Dialect Options): Add dynamic_cast to description of -Wold-style...
authorGerald Pfeifer <gerald@pfeifer.com>
Fri, 12 Aug 2005 20:02:27 +0000 (20:02 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Fri, 12 Aug 2005 20:02:27 +0000 (20:02 +0000)
* doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to
description of -Wold-style-casts.

From-SVN: r103044

gcc/ChangeLog
gcc/doc/invoke.texi

index 6c0fae6f6a951085ef6a6141dd553853c38ef927..8b4512f50dd2d83f8f93e3920a8a45e97a97f127 100644 (file)
@@ -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>
 
index cdedd818524ed677c69dfe7695d36a8e9f480cfd..a5491b0679ef2430b26066dade94590797389e47 100644 (file)
@@ -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