Jump to content
Sign in to follow this  
Sparky1039

Preprocessor Error

Recommended Posts

The project I'm working on started giving me a preprocessor error that I'm unfamiliar with. Could someone tell me what this error is and what I should be looking out for to clear it?

 

"thefilename.c(1146) EOF in comment"

 

If i click on the error it takes me to the line number where a problem is located (1146) but all I see is the closing brace for the last function.

What does "EOF" stand for?

 

Any help would be appreciated.

 

thx

Share this post


Link to post
Share on other sites

EOF stands for End Of File. This error means that a comment starts (with /*) but never ends (there is no matching */).

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Thanks Pavel. Explaining what to look for made finding the error easier to spot, which I did in less than 2 mins worth of searching. :)

Edited by Sparky1039

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...