Le mercredi 21 août 2013 11:29:13 [email protected] a écrit :
> Hi.
> 
> Noticed couple of issues with enums.
> 
> [1] tcc silently accepts enum redifinition.
> 
> $ tcc -run -
> enum color { RED=10, GREEN, BLUE };
> enum color { R, G, B };
> int main()
> {
>         enum color c=RED, d=R;
>         printf("c=%d,d=%d\n", c, d);
>         return 0;
> }
> c=10,d=0

This issue is now fix as of commit 0f522fb32a635dafce30f3ce3ff2cb15bcec809e in 
the mob branch.

Thanks for reporting.

Best regards,

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to