In the variable undefined check within wrenCompile, the error() call was receiving an ObjString struct instead of its underlying char* buffer, causing a type mismatch. Changed the argument to access the .buffer field of the variable name string.
In the variable undefined check within wrenCompile, the error() call was receiving an ObjString struct instead of its underlying char* buffer, causing a type mismatch. Changed the argument to access the .buffer field of the variable name string.