[Bug c++/21165] [4.0/4.1 Regression] bogus error on a user-defined conversion in a template

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue May 31 18:01:00 GMT 2005


------- Additional Comments From nathan at gcc dot gnu dot org  2005-05-31 18:01 -------
2005-05-31  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/21165
	* init.c (integral_constant_value): Check the type of the
	initializer, not the decl.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21165



More information about the Gcc-bugs mailing list