]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/rtti.c
Wrap option names in gcc internal messages with %< and %>.
[thirdparty/gcc.git] / gcc / cp / rtti.c
index c4aabea70038575e2b6eadf1ff42ffce5087badd..3ca2b5e7b886fd60dd33aa9e8c8f5ae3ba264ae3 100644 (file)
@@ -310,7 +310,7 @@ typeid_ok_p (void)
 {
   if (! flag_rtti)
     {
-      error ("cannot use %<typeid%> with -fno-rtti");
+      error ("cannot use %<typeid%> with %<-fno-rtti%>");
       return false;
     }
 
@@ -719,7 +719,7 @@ build_dynamic_cast_1 (tree type, tree expr, tsubst_flags_t complain)
          if (!flag_rtti)
            {
               if (complain & tf_error)
-                error ("%<dynamic_cast%> not permitted with -fno-rtti");
+               error ("%<dynamic_cast%> not permitted with %<-fno-rtti%>");
              return error_mark_node;
            }