Unterminated #if

I seem to be getting an ‘Unterminated #if’ error when compiling


#include "directory/code.c";


Thanks in advance!

#include "directory/code.c";

At first glance, it looks like the semicolon at the end of the #include may be causing the issue. Try removing that and seeing if that resolves the problem for you.

Edit: Please disregard the original suggestion, it was incorrect. Is there another #if definition somewhere else in the program that could be causing that issue? If possible, please post a copy of the entire code (or at least all of the preprocessor definitions) as we’ll need this info to debug the problem further.

Is there an email I can send this to?

Yes, feel free to send it to support@robotc.net with a link to this forum post and a description of the issue, and we’ll be more than happy to take a look at it for you.