RTE Build finds header, but Target Build can't


Here’s an interesting little “feature”… :open_mouth:

My project was building fine for Remote, but the Target build failed with

I was puzzled - how could the Remote (Microsoft) build find it, but not GCC?
The file certainly existed.
I tried re-running the Project Wizard - but no help. :frowning:

Then I spotted my mistake in the code:

#include "file.h "

I’d put a spurious space at the end of the filename! :blush:

Answers on a postcard as to why this matters to GCC, but not to MS…