http://llvm.org/bugs/show_bug.cgi?id=7000

Chandler Carruth <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #1 from Chandler Carruth <[email protected]> 2010-05-13 07:11:32 
CDT ---
As of r103712, Clang should produce:

% ./bin/clang++ t8.cc
t8.cc:4:25: error: static_cast from 'char *' to 'value_type const *' (aka
'unsigned char const *') is not allowed
  value_type const *p = static_cast<value_type const *>(p_);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
t8.cc:8:3: note: in instantiation of function template specialization
'update_n<char>' requested here
  update_n(s);
  ^
1 error generated.

I think this fixes the issue, but feel free to re-open if there are further
tweaks.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to