Hi. Where are you getting this error? In mikroC when you are compiling because we can’t reproduce that error, your code compiles successfully with no errors.
Are you getting in in hardware and if so, How?
Are you getting that error in Proteus simulation? Can you post the screenshot of that error message?