Migrating from Phoenix
As standard, the preprocessor does not REQUIRE the use of include guards in #include files. They will be processed as normal, but each #include file will only be processed once.
Either: Ensure global defines is not ticked if you are using include guards in your included files. Maximum compatibility, minimum effort.
Or: Remove include guards from your included files :) This will break compatibility with Phoenix and allow the use of more language features.
// You do not need to use include guards
// #ifndef includeThisFile // Comment this out
// #define includeThisFile // Comment this out if you are not using it elsewhere.
// lots of code
// #endif // Comment this out