* cvt.c (cp_convert_to_pointer): Pass itf_complain, not
itf_no_attributes.
From-SVN: r35759
* class.c (instantiate_type): Reinstate local variable
deleted in previous change.
+
+ * cvt.c (cp_convert_to_pointer): Pass itf_complain, not
+ itf_no_attributes.
2000-08-17 Nathan Sidwell <nathan@codesourcery.com>
}
if (type_unknown_p (expr))
- return instantiate_type (type, expr, itf_no_attributes);
+ return instantiate_type (type, expr, itf_complain);
cp_error ("cannot convert `%E' from type `%T' to type `%T'",
expr, intype, type);