I hope you can help me in this issue with the PIC16F18444.
I have a FCFX-file that compiles for PIC16F18345, but reports error when I changed the target to PIC16F18444.
It looks like there is a bug in the Flowcode implementation for PIC16F18444.
I was able to reduce the program to a single macro where the root cause is the interrupt block. The problem happen even if the interrupt block is disabled!

I recreate the 2D console with components from flowcode 10 to mitigate any problem on migration from PIC16F18345 to PIC16F18444, since there was some components for 3D only (on Flowcode 10) and my original code uses 2D only. Nothing change on error messages.
On my original code, the c-file line was pointed to a blank line before my first block of code.
Code: Select all
D:\Comum\CONSENG\_Clientes\4Ground\_PROD\KO11\SW\Alternativa=PIC16F18444>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8-cc.exe" -mcpu=16F18444 "FC20250430_3v8_TheErrorIsRHere.c" -w=359,1273,1388 -fno-short-float -fno-short-double -std=c90 -Os
FC20250430_3v8_TheErrorIsRHere.c:7135:16: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7135:19: error: (182) illegal conversion between types
int -> volatile union S862
FC20250430_3v8_TheErrorIsRHere.c:7157:20: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7157:40: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7157:41: error: (199) logical type required
NOT volatile union S844
FC20250430_3v8_TheErrorIsRHere.c:7157:41: error: (199) logical type required
NOT volatile union S862
FC20250430_3v8_TheErrorIsRHere.c:7160:16: error: (255) not a member of the struct/union ""
FC20250430_3v8_TheErrorIsRHere.c:7160:19: error: (182) illegal conversion between types
int -> volatile union S844
(908) exit status = 1
Error returned from xc8.exe