Can some one give me a hand with this code?

PaulS:

The compiler I am using

And why aren't you using the IDE? Or, at least falling back to that when you have problems with whatever you are using?

The receiver code compiles fine in the IDE. As does the sender code.

Do you mean the IDE to input to the Arduinos?