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

Warning if type mismatch

I have one file in which I use "int16_t x", when I declared it in other file, by mistake I have declared "extern int8_t x". i.e int8_t is used instead of int16_t.

But compiler do not generate warning for this. Why.
Is there any method for it or it has to be taken care by the programmer only.