I have an Arduino sketch with about 50 files (.cpp and .h) and some included libraries and I am developing for a Teensy 3.1 so I have the Teensyduino addon for the Arduino IDE.
My code compiles fine, if I remove/change some lines. But it doesn't matter which lines exactly.
For example if there is an array as a member-variable and I change it to a pointer, it doesn't compile anymore, giving me no error, but freezing the compile-process. The progress-bar stays at about 25%.
It seems to me, like the parser/compiler hangs up.
Disabling anti-virus doesn't change something.
Any suggestions how to fix this?