Flowcode 10 using Device PIC18F27K42 generates error on build

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
IanC
Posts: 5
http://meble-kuchenne.info.pl
Joined: Sat Feb 27, 2021 5:39 pm

Flowcode 10 using Device PIC18F27K42 generates error on build

Post by IanC »

Hi, not 100% sure this is a bug but attempting to build a project with a PIC18F27K42 driving the servo controller results in the following errors;-

Code: Select all

Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat  "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 18F27K42 
C:\Users\ianca\OneDrive\Electronic Projects\Candlelight Simulator>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8-cc.exe" -mcpu=18F27K42 "V3_candle.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os 
V3_candle.c:1201:17: error: (255) not a member of the struct/union ""
V3_candle.c:1201:20: error: (182) illegal conversion between types
int -> volatile union S162
V3_candle.c:1202:18: error: (255) not a member of the struct/union ""
V3_candle.c:1202:21: error: (182) illegal conversion between types
int -> volatile union S2024
V3_candle.c:2460:21: error: (255) not a member of the struct/union ""
V3_candle.c:2460:42: error: (255) not a member of the struct/union ""
V3_candle.c:2460:43: error: (199) logical type required
NOT volatile union S188
V3_candle.c:2460:43: error: (199) logical type required
NOT volatile union S162
V3_candle.c:2645:17: error: (255) not a member of the struct/union ""
V3_candle.c:2645:20: error: (182) illegal conversion between types
int -> volatile union S188
(908) exit status = 1

Error returned from [xc8.exe]

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

medelec35
Matrix Staff
Posts: 1478
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 522 times
Been thanked: 479 times

Re: Flowcode 10 using Device PIC18F27K42 generates error on build

Post by medelec35 »

Hello.
Can you post your .fcfx project file and I can see if I can spot the issue or confirm its a bug.
In future it is better to post the .msg.txt file or use code tags.
I have added code tags to your post.
Martin

IanC
Posts: 5
Joined: Sat Feb 27, 2021 5:39 pm

Re: Flowcode 10 using Device PIC18F27K42 generates error on build

Post by IanC »

Hi, thanks for your reply, project attached.
Attachments
V3_candle.fcfx
project file
(23.48 KiB) Downloaded 26 times

Post Reply