We would not know what is with the errors, as we do not use that compiler.

Once again, you are in the wrong forum. This is the PicBasicPro forum. It is a forum dedicated to the basic compiler called Pic Basic Pro. We do not use the Hitec C compiler. Please refer your question to a forum that does use a C compiler.

Thanks,

Walter