------- Comment #13 from pinskia at gcc dot gnu dot org  2008-12-30 05:35 
-------
That patch removed lots of code that is nessarry for this check, I have to add
back
+        /* The call to perform_qualification_conversions will
+          insert a NOP_EXPR over EXPR to do express conversion,
+          if necessary.  But, that will confuse us if we use
+          this (converted) template parameter to instantiate
+          another template; then the thing will not look like a
+          valid template argument.  So, just make a new
+          constant, of the appropriate type.  */

Anyways now I have a real patch which brings us back to what was done before
and gives us the correct error.


-- 


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

Reply via email to