PIC 18F13K22 compiler error?
Posted: Thu Aug 07, 2025 11:44 am
Hi,
I an unable to compile a program for a PIC18F13K22(or PIC16F1847) I keep getting a 3178 while 1, ^(312)";" expected,FCS2 20A V3.0.0.0c:,3554mainendloop; , ^ (374)missing basic type; int assumed (warning), ^(314)";"expected, 3555;), ^(285) no identifier in declartion' ^(374)missing basic type: int assumed (warning), ^(314)";" expected, (908) exit status = 1.
Whatdose all this mean? Have I done something wrong or is it a compiler bug.
project file attached.
Many thanks Barry W
I an unable to compile a program for a PIC18F13K22(or PIC16F1847) I keep getting a 3178 while 1, ^(312)";" expected,FCS2 20A V3.0.0.0c:,3554mainendloop; , ^ (374)missing basic type; int assumed (warning), ^(314)";"expected, 3555;), ^(285) no identifier in declartion' ^(374)missing basic type: int assumed (warning), ^(314)";" expected, (908) exit status = 1.
Whatdose all this mean? Have I done something wrong or is it a compiler bug.
project file attached.
Many thanks Barry W