My understanding is that int b is a definition, not a declaration and identifiers are not allowed to be defined more than once.Code:int b; int b; int main(){ return 0; }
- GNU GCC Compiler
- Code Blocks:16.01
- No flags used apart from -Wall (enable all warnings). Not sure which revision of C its following but if I enable the -std=c99 flag then it also doesnt work.
Any ideas?