<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32K中的主题 continuously getting error expected identifier or '(' before string constant</title>
    <link>https://community.nxp.com/t5/S32K/continuously-getting-error-expected-identifier-or-before-string/m-p/1690700#M25306</link>
    <description>&lt;P&gt;i dont know the source of this problem, but i am continuously getting this error&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;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&lt;BR /&gt;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&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:182: Sources/AppLayer/ADC_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:190: Sources/AppLayer/BMS_VCU_Communication.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:198: Sources/AppLayer/CAN_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:206: Sources/AppLayer/Debug_CAN_Comm.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:214: Sources/AppLayer/EEPROM_DB_Handler_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:222: Sources/AppLayer/FOTA_V2.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:230: Sources/AppLayer/Fault_Handler.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:238: Sources/AppLayer/IGE_Live_Data_Handler.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** Waiting for unfinished jobs.... Code_Structure_Template C/C++ Problem&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The error was generated when i was trying to add some code for debug&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;even when clean build project the project persisted, as you can see from search result i don't have that particular line in code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k146_ige_0-1690012451541.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233068i843E5143133C599B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k146_ige_0-1690012451541.png" alt="s32k146_ige_0-1690012451541.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;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,&lt;/P&gt;&lt;P&gt;i am attaching console log of older version project, this project doesn't have line printf("%6.3f,", lfValue);&lt;/P&gt;&lt;P&gt;this was added in new copy of folder, but error was shown in older copy as well even though folder and workspace are different.&lt;/P&gt;&lt;P&gt;i run code through cppcheck but that didn't show any major syntax related error.&lt;/P&gt;&lt;P&gt;please help me with error troubleshooting&lt;/P&gt;</description>
    <pubDate>Sat, 22 Jul 2023 08:04:43 GMT</pubDate>
    <dc:creator>s32k146_ige</dc:creator>
    <dc:date>2023-07-22T08:04:43Z</dc:date>
    <item>
      <title>continuously getting error expected identifier or '(' before string constant</title>
      <link>https://community.nxp.com/t5/S32K/continuously-getting-error-expected-identifier-or-before-string/m-p/1690700#M25306</link>
      <description>&lt;P&gt;i dont know the source of this problem, but i am continuously getting this error&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;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&lt;BR /&gt;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&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:182: Sources/AppLayer/ADC_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:190: Sources/AppLayer/BMS_VCU_Communication.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:198: Sources/AppLayer/CAN_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:206: Sources/AppLayer/Debug_CAN_Comm.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:214: Sources/AppLayer/EEPROM_DB_Handler_AppLayer.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:222: Sources/AppLayer/FOTA_V2.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:230: Sources/AppLayer/Fault_Handler.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** [Sources/AppLayer/subdir.mk:238: Sources/AppLayer/IGE_Live_Data_Handler.o] Error 1 Code_Structure_Template C/C++ Problem&lt;BR /&gt;make: *** Waiting for unfinished jobs.... Code_Structure_Template C/C++ Problem&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The error was generated when i was trying to add some code for debug&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;even when clean build project the project persisted, as you can see from search result i don't have that particular line in code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s32k146_ige_0-1690012451541.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233068i843E5143133C599B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s32k146_ige_0-1690012451541.png" alt="s32k146_ige_0-1690012451541.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;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,&lt;/P&gt;&lt;P&gt;i am attaching console log of older version project, this project doesn't have line printf("%6.3f,", lfValue);&lt;/P&gt;&lt;P&gt;this was added in new copy of folder, but error was shown in older copy as well even though folder and workspace are different.&lt;/P&gt;&lt;P&gt;i run code through cppcheck but that didn't show any major syntax related error.&lt;/P&gt;&lt;P&gt;please help me with error troubleshooting&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 08:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/continuously-getting-error-expected-identifier-or-before-string/m-p/1690700#M25306</guid>
      <dc:creator>s32k146_ige</dc:creator>
      <dc:date>2023-07-22T08:04:43Z</dc:date>
    </item>
  </channel>
</rss>

