Le 2014-03-31 19:25, Jay Foad a écrit : Hi Jay,
tcc complains about the redefinition of FOO, but it should allow it
because the second definition is in an inner scope:
$ cat e.c
enum { FOO = 1 };
void f() { enum { FOO = 2 }; }
$ ./tcc e.c
e.c:2: error: redefinition of enumerator 'FOO'
Fixed. Thanks for reporting. Best regards, Thomas _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
