t2.c:5: error: incompatible types for redefinition of 'x'
Doing some random tests, it seems that the error appears when x is
defined as a pointer, but not when x is defined as a standard numeric
type (int, char, ...). Also, the error does not appear when function
main1() is deleted. I believe that when compiling a local extern
variable some global state is changed and it is not reset at the end of
I'm not able to understand anything better from the code.
Giovanni Mascellani <[hidden email]>
Postdoc researcher - Université Libre de Bruxelles