You are probably using a PSoC3. There are some minor bugs in the code-checking which have to be corrected. Best is to believe in the results of the compilation which will not show up an error (hopefully).
If the above is not the case, can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file (do NOT use chrome, that still may not work).
Thanks for the quick reply. Yes it is a PSoC3.