meltypixel
Member
I recently upgraded to GMS 2.3, and I'm running a separate install of the beta just in case I needed to roll back easily. I'm attempting to export with YYC, but I'm getting an Xcode error:
This is the game code it seems to be getting hung up on:
I really don't know what to do with this info and I'm at a loss as to how to compile on Mac anymore.
Unknown type name 'var'
in the very first piece of code that the game attempts to compile. This game compiled fine last week, and has zero issues on Windows. Here is the full error report from Xcode:
Code:
/Users/myname/GameMakerStudio2/Mac/GMS2MAC/Mixolumia/Mixolumia/Mixolumia/Game/gml_Object_game_obj_Create_0.gml.cpp:1034:145: error: unknown type name 'var'
(*sself_current_player)=(/* context id changed from 3948 to 185*/(*sself_demo_mode).asBool() ? YYRValue((const char*)g_pString5899_97B01BCA) : YYCOMPOUNDEXPR_BEGIN sself_demo_mode = &((CInstanceBase*)pSelf)->GetYYVarRef(kVARID_self_demo_mode); /* set ContextID to 4008 */
^
In file included from /Users/myname/GameMakerStudio2/Mac/GMS2MAC/Mixolumia/Mixolumia/Mixolumia/Game/gml_Object_game_obj_Create_0.gml.cpp:1:
Mixolumia/YYGML.h:35:32: note: expanded from macro 'YYCOMPOUNDEXPR_BEGIN'
#define YYCOMPOUNDEXPR_BEGIN ({var a =
^
1 error generated.
Code:
demo_mode = false;
current_player = demo_mode ? "guest" : undefined;