We have converted the example project into cpp project by using project conversion option in IDE. The main file named as hello.c in example project was building without error.
After that started creating other cpp files and header files.
hello.c has some includes like mqx.h, bsp.h, fio.h. (which will internally consists of other driver .h and .c files in lib).
Please find a screenshot of the error we are getting.
IDE version: MCUXpresso IDE v11.8.1_1197
Controller using IMXRT1170
