i dont know the source of this problem, but i am continuously getting this error
Description Resource Path Location Type
C:/NXP/S32DS_ARM_v2018.R1/S32DS/arm32_ewl2/EWL_C/include/cstdio expected identifier or '(' before 'const' Code_Structure_Template line 1050, external location: C:\NXP\S32DS_ARM_v2018.R1\S32DS\arm32_ewl2\EWL_C\include\cstdio C/C++ Problem
C:/NXP/S32DS_ARM_v2018.R1/S32DS/arm32_ewl2/EWL_C/include/cstdio expected identifier or '(' before string constant Code_Structure_Template line 1050, external location: C:\NXP\S32DS_ARM_v2018.R1\S32DS\arm32_ewl2\EWL_C\include\cstdio C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:182: Sources/AppLayer/ADC_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:190: Sources/AppLayer/BMS_VCU_Communication.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:198: Sources/AppLayer/CAN_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:206: Sources/AppLayer/Debug_CAN_Comm.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:214: Sources/AppLayer/EEPROM_DB_Handler_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:222: Sources/AppLayer/FOTA_V2.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:230: Sources/AppLayer/Fault_Handler.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** [Sources/AppLayer/subdir.mk:238: Sources/AppLayer/IGE_Live_Data_Handler.o] Error 1 Code_Structure_Template C/C++ Problem
make: *** Waiting for unfinished jobs.... Code_Structure_Template C/C++ Problem
The error was generated when i was trying to add some code for debug
printf("%6.3f,", lfValue); this was the particular line that produced the error, when i commented these lines of code the error persisted then i added the whole file.c in #if 0 macro, so code doesnt come under compiler. but still the error persisted.
even when clean build project the project persisted, as you can see from search result i don't have that particular line in code
But error is not going away, what i did is i had zipped copy of older version, i extracted it in new folder, created new project workspace and compiled the project but this error was listed in old version compiled copy. as it seems it is not problem with project or c file,
i am attaching console log of older version project, this project doesn't have line printf("%6.3f,", lfValue);
this was added in new copy of folder, but error was shown in older copy as well even though folder and workspace are different.
i run code through cppcheck but that didn't show any major syntax related error.
please help me with error troubleshooting