header with variable referenced more than twice
When I create libraries, sometime I forget create the variable in .c file and then write the same in header file with extern. I just create the variable in header file, and access to his from .c file and even from other libraries. IAR compiler warn this, however stm32cube ide with gcc compiler does not. I don't know if there is option to make the compiler more strict with mistakes like this. I already enable warn for implicit conversion flag which is helpful.
