<span lang="EN">
<p>Hi All,</p>
<p>I am encountering the following error</p>
<p>"assigning to 'uint4' from incompatible type 'int __attribute__((ext_vector_type(4)))'"</p>
<p>for code, p = q < (uint4)2; where p and q are of type uint4</p>
<p>The explicit type casting before assignement [p = (unit4)(q < (uint4)2)] resolves the error.</p>
<p>In Clang Rev 2.9, there was no error for such code. </p>
<p>Avoiding this implicit conversion of 'int4' to 'uint4' is intentional in Clang Rev3.1 OR am i missing something.</p>
<p>Regards</p>
<p>Sreelatha</p></span>