Hello,
I seem to be getting an ‘Unterminated #if’ error when compiling
#ifndef HFRENI_PROGRAMS_H_
#define HFRENI_PROGRAMS_H_
#include "directory/code.c";
#endif //HFRENI_PROGRAMS_H_
Thanks in advance!
Hello,
I seem to be getting an ‘Unterminated #if’ error when compiling
#ifndef HFRENI_PROGRAMS_H_
#define HFRENI_PROGRAMS_H_
#include "directory/code.c";
#endif //HFRENI_PROGRAMS_H_
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.