Problem with compiling the project - (876) syntax error
Posted: Fri Apr 14, 2023 3:12 pm
The problem with compiling the project, I tried the standard compiler and downloaded a newer version of XC8 - 2.41, but there were constant problems with the syntax. I think that this is a problem with the fact that the size of the C file is large, but when you turn off Global settings--> Code generation--> Add icons comments to C code - comments from the C code do not disappear - this option does not work for some reason.
Target folder: E:
Source name: E:\FC9_rev17_multi (1).fcfx
Title:
Description:
Device: PIC.18F.18F46K22
Generated by: Flowcode v9.3.1.36
Date: Friday, April 14, 2023 17:09:11
Users: 1
Registered to: vvvhydr (83470751)
Licence key: 8NY27G
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 18F46K22 "E:\" "FC9_rev17_multi (1)"
E:\>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D79589982F2C26BF78BFC32C650CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE1BF2A9420263CDAEEC22F549213B2E20A6A0704CBC762DED
E:\>REM REVISION: 1.0
E:\>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
E:\>REM DATE: 29\03\2021
E:\>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
E:\>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8.exe" --chip=18F46K22 "FC9_rev17_multi (1).c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic\bin\picc18 --chip=18F46K22 FC9_rev17_multi (1).c --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
FC9_rev17_multi (1).c:
41072: #warning "This interrupt has previously been enabled, so the macro <TMR_0_LCD_DU_POWER> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TMR_0_LCD_DU_POWER> may never get called." (warning)
. .
using updated 32-bit floating-point libraries; improved accuracy might increase code size
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_Delay.c: 105: non-reentrant function "_delay_ms" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 2921: non-reentrant function "_FCD_03d94_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 2966: non-reentrant function "_FCD_03d93_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3011: non-reentrant function "_FCD_03d92_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3056: non-reentrant function "_FCD_03d91_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3082: non-reentrant function "_FCD_05265_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3354: non-reentrant function "_FCD_05264_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3626: non-reentrant function "_FCD_05263_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3898: non-reentrant function "_FCD_05262_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 4170: non-reentrant function "_FCD_05261_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
. . . . . . . . . . . . . . .
FC9_rev17_multi (1).as: 12536: (876) syntax error
FC9_rev17_multi (1).as: 12543: (876) syntax error
FC9_rev17_multi (1).as: 12549: (876) syntax error
FC9_rev17_multi (1).as: 12555: (876) syntax error
FC9_rev17_multi (1).as: 12557: (876) syntax error
FC9_rev17_multi (1).as: 12563: (876) syntax error
FC9_rev17_multi (1).as: 15630: (876) syntax error
FC9_rev17_multi (1).as: 15852: (876) syntax error
FC9_rev17_multi (1).as: 16110: (876) syntax error
FC9_rev17_multi (1).as: 16538: (876) syntax error
FC9_rev17_multi (1).as: 17201: (876) syntax error
FC9_rev17_multi (1).as: 18182: (876) syntax error
FC9_rev17_multi (1).as: 18434: (876) syntax error
FC9_rev17_multi (1).as: 18630: (876) syntax error
FC9_rev17_multi (1).as: 18827: (876) syntax error
FC9_rev17_multi (1).as: 19085: (876) syntax error
FC9_rev17_multi (1).as: 19299: (876) syntax error
FC9_rev17_multi (1).as: 19518: (876) syntax error
FC9_rev17_multi (1).as: 19610: (876) syntax error
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
Target folder: E:
Source name: E:\FC9_rev17_multi (1).fcfx
Title:
Description:
Device: PIC.18F.18F46K22
Generated by: Flowcode v9.3.1.36
Date: Friday, April 14, 2023 17:09:11
Users: 1
Registered to: vvvhydr (83470751)
Licence key: 8NY27G
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 18F46K22 "E:\" "FC9_rev17_multi (1)"
E:\>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D79589982F2C26BF78BFC32C650CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE1BF2A9420263CDAEEC22F549213B2E20A6A0704CBC762DED
E:\>REM REVISION: 1.0
E:\>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
E:\>REM DATE: 29\03\2021
E:\>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
E:\>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8.exe" --chip=18F46K22 "FC9_rev17_multi (1).c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic\bin\picc18 --chip=18F46K22 FC9_rev17_multi (1).c --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
FC9_rev17_multi (1).c:
41072: #warning "This interrupt has previously been enabled, so the macro <TMR_0_LCD_DU_POWER> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TMR_0_LCD_DU_POWER> may never get called." (warning)
. .
using updated 32-bit floating-point libraries; improved accuracy might increase code size
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_Delay.c: 105: non-reentrant function "_delay_ms" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 2921: non-reentrant function "_FCD_03d94_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 2966: non-reentrant function "_FCD_03d93_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3011: non-reentrant function "_FCD_03d92_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3056: non-reentrant function "_FCD_03d91_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3082: non-reentrant function "_FCD_05265_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3354: non-reentrant function "_FCD_05264_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3626: non-reentrant function "_FCD_05263_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 3898: non-reentrant function "_FCD_05262_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
FC9_rev17_multi (1).c: 4170: non-reentrant function "_FCD_05261_switch_base__ReadState" appears in multiple call graphs and has been duplicated by the compiler
. . . . . . . . . . . . . . .
FC9_rev17_multi (1).as: 12536: (876) syntax error
FC9_rev17_multi (1).as: 12543: (876) syntax error
FC9_rev17_multi (1).as: 12549: (876) syntax error
FC9_rev17_multi (1).as: 12555: (876) syntax error
FC9_rev17_multi (1).as: 12557: (876) syntax error
FC9_rev17_multi (1).as: 12563: (876) syntax error
FC9_rev17_multi (1).as: 15630: (876) syntax error
FC9_rev17_multi (1).as: 15852: (876) syntax error
FC9_rev17_multi (1).as: 16110: (876) syntax error
FC9_rev17_multi (1).as: 16538: (876) syntax error
FC9_rev17_multi (1).as: 17201: (876) syntax error
FC9_rev17_multi (1).as: 18182: (876) syntax error
FC9_rev17_multi (1).as: 18434: (876) syntax error
FC9_rev17_multi (1).as: 18630: (876) syntax error
FC9_rev17_multi (1).as: 18827: (876) syntax error
FC9_rev17_multi (1).as: 19085: (876) syntax error
FC9_rev17_multi (1).as: 19299: (876) syntax error
FC9_rev17_multi (1).as: 19518: (876) syntax error
FC9_rev17_multi (1).as: 19610: (876) syntax error
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED