Problem with compiling the project - (876) syntax error

Any bugs you encounter with Flowcode should be discussed here.
Locked
vvvhydr
Posts: 7
http://meble-kuchenne.info.pl
Joined: Wed Dec 01, 2021 7:22 am
Has thanked: 1 time

Problem with compiling the project - (876) syntax error

Post by vvvhydr »

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
Attachments
FC9_rev17_multi (1).msg.txt
(5.04 KiB) Downloaded 47 times
Last edited by vvvhydr on Fri Apr 14, 2023 6:03 pm, edited 1 time in total.

BenR
Matrix Staff
Posts: 1756
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 446 times
Been thanked: 606 times

Re: Problem with compiling the project - (876) syntax error

Post by BenR »

Hello,

Can you attach your project or send to me via a PM so I can try and replicate the problem here.

vvvhydr
Posts: 7
Joined: Wed Dec 01, 2021 7:22 am
Has thanked: 1 time

Re: Problem with compiling the project - (876) syntax error

Post by vvvhydr »

The post can be closed. The problem was solved by switching to Flowcode5. Matrix technical support is very fast and timely))

ramkrish_va
Posts: 2
Joined: Mon Dec 21, 2020 8:37 am

Re: Problem with compiling the project - (876) syntax error

Post by ramkrish_va »

Target folder: E:\AASHRITHA PROJECT FLOW CODE
Source name: E:\AASHRITHA PROJECT FLOW CODE\AASHRITHA PROJECT G+7.fcfx
Title:
Description:
Device: PIC.16F.16F18877
Generated by: Flowcode v8.2.2.15
Date: Monday, June 12, 2023 16:47:17
Users: 1
Registered to: Ramakrishnan
License key: YME6TK
https://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat 16F18877 "E:\AASHRITHA PROJECT FLOW CODE\" "AASHRITHA PROJECT G+7"

E:\AASHRITHA PROJECT FLOW CODE>C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\batch\..\bin\xc8.exe --chip=16F18877 "AASHRITHA PROJECT G+7.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

AASHRITHA PROJECT G+7.c:
32871: #warning "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called." (warning)
32884: #warning "This interrupt has previously been enabled, so the macro <TIMER3_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER3_INT> may never get called." (warning)
32910: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32923: #warning "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called." (warning)
32949: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32975: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32988: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33001: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33014: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33027: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33053: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33066: #warning "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called." (warning)
33079: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33092: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33105: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33118: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33131: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33144: #warning "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called." (warning)
33157: #warning "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called." (warning)
AASHRITHA PROJECT G+7.c: FCM_SERV_SAFETY_CHECK()
8779: }
^ (350) unused label "FCC_SERV_SAFETY_CHECK_A" (from line 0) (warning)
^ (350) unused label "FCC_SERV_SAFETY_CHECK_D" (from line 0) (warning)
^ (350) unused label "FCC_SERV_SAFETY_CHECK_E" (from line 0) (warning)
AASHRITHA PROJECT G+7.c: FCM_ARD_MODE()
12546: }
^ (350) unused label "FCC_ARD_MODE_D" (from line 0) (warning)
. . . . . .

using updated 32-bit floating-point libraries; improved accuracy might increase code size



. . . . . . . . . . . . . . . . . . . . . . . .

AASHRITHA PROJECT G+7.as: 11967: (876) syntax error
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]
.

C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1

Autoclose turned off


FINISHED

medelec35
Matrix Staff
Posts: 1464
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 514 times
Been thanked: 473 times

Re: Problem with compiling the project - (876) syntax error

Post by medelec35 »

Hello.
For Flowcode v8 questions can you please post on these forums as they are for version less than FC9
It will save time if you can also post the project that is causing the issue.
If you want your project to remain private then you can PM it to me.
I'm locking this thread as you have posted twice asking the same question and also on the wrong forums.
Martin

Locked