This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

global variable declaration without giving type identifier generates no warning

I thing it should generate a warning.
but it doesn't.
C51 COMPILER V8.16
Compiler settings: level=2

#include<something.h>

my_strange_global_variable = 1;

void main(void)
{ ...;
}

C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)

0