Commit eaff4f5a by Brendan Kehoe

Cygnus<-->FSF merge

From-SVN: r3303
parent 936b69b3
...@@ -726,7 +726,10 @@ dbxout_type_methods (type) ...@@ -726,7 +726,10 @@ dbxout_type_methods (type)
if (!warned) if (!warned)
{ {
warned = 1; warned = 1;
warning ("dbx info for template class methods not yet supported"); #ifdef HAVE_TEMPLATES
if (warn_template_debugging)
warning ("dbx info for template class methods not yet supported");
#endif
} }
return; return;
} }
......
...@@ -96,6 +96,11 @@ extern int warn_return_type; ...@@ -96,6 +96,11 @@ extern int warn_return_type;
extern int warn_cast_align; extern int warn_cast_align;
/* Nonzero means warn that dbx info for template class methods isn't fully
supported yet. */
extern int warn_template_debugging;
/* Nonzero means warn about any identifiers that match in the first N /* Nonzero means warn about any identifiers that match in the first N
characters. The value N is in `id_clash_len'. */ characters. The value N is in `id_clash_len'. */
......
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