if statement inside while loop

AngelinaNoLee:

Error messages are also compiler specific, not just language specific.

We are on the arduino forum so everyone here use the same compiler right? Or are there more compilers for the arduino sketches?

I wouldn't be so sure about that.

For me I guess that'd be gcc as that's by default installed on Linux computers. If you're running another flavour of Linux or maybe a BSD, you may have another version of gcc. If you're on Apple, or even Windows, fair chance you have a different compiler.

We may all be using the same IDE - well, partly, as a large part of what I do is library code at the moment and the IDE doesn't support .cpp or .h files, so doing that in xed, my text editor, then the IDE to run the compilation and take care of the upload - even same IDE doesn't mean same compiler. That are two different things.