[cfe-dev] clang bug

Chris Lattner clattner at apple.com
Mon Dec 17 22:07:10 PST 2007


On Dec 13, 2007, at 3:43 AM, Nico Weber wrote:
> this produces an error ("incompatible operand types ('char *' and  
> 'int')") with clang but not with gcc:
>
> char* c = (char*)((1) ? "i" :
> 			    1 == 1 ? "v" :
> 			    "r");

Fixed, thanks!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20071217/003468.html

-Chris



More information about the cfe-dev mailing list