I recently revived a mature FC7 (7.3.0.5) project originally developed under Windows 10 32-bit. The original compiler version was XC8 1.41. It had previously compiled with no problems.
Since the original development I have moved on to Windows 10 64-bit and XC8 version 2.31.
The original project will not compile with my current system, Windows 10 64-bit / XC8 2.31. I get errors when I try to send a globally defined constant string to my 4x20 LCD display:
Code: Select all
Launching the compiler...
C:\Program Files\Microchip\xc8\v2.31\pic\bin\xc8.exe --chip=18F4620 "HT_ICP05_v15_4620.c" --MSGDISABLE=359,1273,1388
C:\PROGRA~1\MICROC~1\xc8\v2.31\pic\bin\picc18 --chip=18F4620 HT_ICP05_v15_4620.c --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler V2.31
Build date: Oct 12 2020
Part Support Version: 2.31
<< deleted info...>>
HT_ICP05_v15_4620.c: FCM_check_menu()
9851: FCD_04071_LCD__PrintString("1.DISABLE", FCVsz_MENU_ITEM_01);
^ (192) undefined identifier "FCVsz_MENU_ITEM_01"
9859: FCD_04071_LCD__PrintString("2. FILL TUB", FCVsz_MENU_ITEM_02);
^ (192) undefined identifier "FCVsz_MENU_ITEM_02"
9867: FCD_04071_LCD__PrintString("3. SET TARGET TMP", FCVsz_MENU_ITEM_03);
^ (192) undefined identifier "FCVsz_MENU_ITEM_03"
9887: FCD_04071_LCD__PrintString("4. SET NO HOT TMP", FCVsz_MENU_ITEM_04);
^ (192) undefined identifier "FCVsz_MENU_ITEM_04"
9919: FCD_04071_LCD__PrintString("5. DRAIN TUB", FCVsz_MENU_ITEM_05);
^ (192) undefined identifier "FCVsz_MENU_ITEM_05"
9927: FCD_04071_LCD__PrintString("6. SET TRNS DELAY", FCVsz_MENU_ITEM_06);
^ (192) undefined identifier "FCVsz_MENU_ITEM_06"
<<...etc. etc. etc...>>
Next I brought up an old Windows 10 32-bit backup running the original FC7 7.3.0.5 and XC8 1.41, and the original project compiles correctly on the restored system. The only differences are the OS (32-bit vs. 64-bit) and the XC8 version (1.41 vs. 2.31).
My question, before I go through the tedious process of uninstalling and reinstalling FC7 and the different XC8 versions:
Can anyone tell me is this might be an FC7 known issue, or an XC8 1.41 vs. XC8 2.31 issue? Or any other ideas?
Thanks....