16F877 Tutorial PR4 and PR5 Compilation errors

Hi,
Can anyone help me with a compilation error when trying to compile a couple of the 16F877 Tutorial Projects PR4 and PR5.
I am using MPLAB IDE 8.30 and HI-TECH 9.65PL1compiler (tried both Lite and PRO versions and also 9.60 Lite and PRO)
Error is [712] C:\.....\Project_4\lcd.c; 276. can't generate code for this expression (same error for both PR4 and PR5)
The lcd.c file is the same one as used in all the projects that use an LCD and it compiles fine in PR1 and PR13 (haven't tried the others).
Any ideas? or has anyone managed to compile these without any problems?
Thanks,
Dave (ddkeo)
Can anyone help me with a compilation error when trying to compile a couple of the 16F877 Tutorial Projects PR4 and PR5.
I am using MPLAB IDE 8.30 and HI-TECH 9.65PL1compiler (tried both Lite and PRO versions and also 9.60 Lite and PRO)
Error is [712] C:\.....\Project_4\lcd.c; 276. can't generate code for this expression (same error for both PR4 and PR5)
The lcd.c file is the same one as used in all the projects that use an LCD and it compiles fine in PR1 and PR13 (haven't tried the others).
Any ideas? or has anyone managed to compile these without any problems?
Thanks,
Dave (ddkeo)