Commit a27b516f by Gabriel Dos Reis Committed by Gabriel Dos Reis

fix comment

From-SVN: r110094
parent 9384e67e
2006-01-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
* rtti.c (build_dynamic_cast): Fix comment.
2006-01-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/10891
* rtti.c (build_dynamic_cast): Reject dynamic_cast use if
-fno-rtti.
......
......@@ -699,8 +699,7 @@ build_dynamic_cast (tree type, tree expr)
if (type == error_mark_node || expr == error_mark_node)
return error_mark_node;
/* Use of dynamic_cast when -fno-rtti is a disaster waiting to happen.
See PR C++/10891. Reject. */
/* Use of dynamic_cast when -fno-rtti is prohibited. */
if (!flag_rtti)
{
error ("%<dynamic_cast%> not permitted with -fno-rtti");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment