Hi, It reports an error when using typeof keyword on a extern variable. e.g. #include <stdio.h>
extern int a;
int main(void)
{
__typeof__(a) b = 0;
printf("%d\n", b);
return 0;
}
The output:
C:\tcc>tcc -c test_typeof.c
test_typeof.c:7: ';' expected
while gcc can compile this file.
Regards,
Hanzac
_______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
