

Now whenever you start a new project, when you get to the wizard screen that says something like "Please select the compiler to use.", select "GNU GCC Compiler" (again it should be the first option).

Hit the add button and enter MINGWROOT\include

Alternatively, hit Win + S to search, type cmd and hit enter. Open run command window by pressing Win + R. Open command prompt on windows via any of these methods. Furthermore, line 197 highlighted in green indicates that line 197 is the active line about to execute, despite the compiler's indication that this line should not be reached. Verify GCC C compiler installation and configuration. Note that code under #ifdef IPU_PRIMARY_CORE_IPU1 is grayed out, however, this code is running on primary core IPU1. The following screen shot gives an example:

It is confusing and inconvenient to be given the impression that certain code will or will not execute, only to find out that is incorrect when stepping through the code. Code Blocks supports multiple compilers like GCC, clang, MSVC++, Borland C++ 5.5, and many more. However, the problem persists when I close the project and just look at code loaded through debugger symbols. At first I assumed this was due to a conflict between project settings and build settings, since I was using an ad-hoc CCS project that is used to view code but not build it, because I am running a makefile project based on Processor SDK Vision 3.0.3. Code Composer Studio 8.6 appears to incorrectly gray out #ifdef blocks.
