17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Characters are appearing after a preprocessor directive that do not apply to that directive.<br />

Preprocessor commands own the entire line unlike the normal C syntax. For example the<br />

following is an error:<br />

#PRAGMA DEVICE main() { int x; x=1;}<br />

File cannot be opened<br />

Check the filename and the current path. The file could not be opened.<br />

File cannot be opened for write<br />

The operating system would not allow the compiler to create one of the output files. Make sure<br />

the file is not marked READ ONLY and that the compiler process has write privileges to the<br />

directory and file.<br />

Filename must start with " or <<br />

The correct syntax of a #include is one of the following two formats:<br />

#include "filename.ext"<br />

#include <br />

This error indicates neither a " or < was found after #include.<br />

Filename must terminate with " or; msg:' '<br />

The filename specified in a #include must terminate with a " if it starts with a ". It must terminate<br />

with a > if it starts with a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!