Part Number: TM4C123GH6PM
Tool/software: TI C/C++ Compiler
For any header file I have associated to a C++ source file, the contents of it appear to be interpreted by the compiler as standard C. At first, it would just fail to resolve any C++ include directive (e.g. #include <map>), but once I removed all of those and placed them directly in the C++ source file, the next error would appear... For example:
error #20: identifier "class" is undefined
So, it's pretty clear that the TI compiler is not figuring out that my header files are for C++ and not standard C. How do you fix this?