I don't know if this is really a bug, but it bugged me :)
I was working on a library. In the .h file, I wanted to declare a variable of type long, eg
but instead I typed lont, eg
The compiler didn't report an error in the .h file like I would have expected, but instead reported it in the .cpp file when I tried using the variable. While the important thing is that it showed an error, any reason it didn't say something like "unknown variable type" in the .h file?