|
From: | grischka |
Subject: | Re: [Tinycc-devel] -fno-type-redefinition-check ??? |
Date: | Fri, 06 May 2016 08:35:30 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Edmund Grimley Evans wrote: ---
You seem to have made TCC stricter than GCC: $ cat t.c typedef int x; typedef int x; $ gcc -Wall -O2 -c t.c $ ./tcc -B. -c t.c t.c:2: error: redeclaration of 'x' Apparently such redefinitions are not officially allowed in C99, so TCC is not really wrong in giving an error, if TCC is only claiming to be a C99 compiler, but they are allowed in C11, so it may turn out to be rather impracticable to be so strict...
No, thanks. Tried to be more conservative, now. Update available on mob. -- gr
[Prev in Thread] | Current Thread | [Next in Thread] |