First, thank you for the reply. Second you correctly point out that I mislabeled the code sections; should have been ST Rev4.c and ST Rev4.h respectively, rather than main.c and main.h.
I am using PCW for a PIC24FJ128GA106 project. Everything was working fine and then yesteday I suddenly started getting the error message in the subject line. I have tried commenting out all changes ...