if (!warned)
{
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;
}
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
characters. The value N is in `id_clash_len'. */