If you post a pic of the errors, and ideally the source code which contains them, then it would be easier to give a definitive answer.
From your description it's just a simple C9 IDE bug, which is fixed in C9.1 - I've pointed it out in a few web innards now -you need to open the web server procedure properties window, then it compiles ok.
Cheers
Bruce