PR c++/21987
* decl.c (grok_op_properties): Add missing warn_conversion check.
From-SVN: r100940
+2005-06-14 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/21987
+ * decl.c (grok_op_properties): Add missing warn_conversion check.
+
2005-06-13 Nathan Sidwell <nathan@codesourcery.com>
PR c++/20789
/* Warn about conversion operators that will never be used. */
if (IDENTIFIER_TYPENAME_P (name)
&& ! DECL_TEMPLATE_INFO (decl)
+ && warn_conversion
/* Warn only declaring the function; there is no need to
warn again about out-of-class definitions. */
&& class_type == current_class_type)