< SOLVED >
My host program searches the script directory for any scripts, and automatically includes them as a module.
The enum.h is in the same directory as the script - and the script is also #including it. So it's getting compiled automatically, and also being included in the main script file.
Remove the #include from the main script and it works.
Hi
I'm using a shared file which has all the enum values between the host and script file.
When compiling the script I get the following:
enum.h (2, 7) : ERR : Name conflict. 'PARA_EVENT_TYPES' is a named type.
enum.h (9, 6) : ERR : Name conflict. 'EVENT_ACTIONS' is a named type.
enum.h (21, 6) : ERR : Name conflict. 'variableTypes' is a named type.
enum.h (32, 6) : ERR : Name conflict. 'consoleFunctionSource' is a named type.
enum.h (38, 6) : ERR : Name conflict. 'currentModes' is a named type.