You are using some unusual board. That should be fine in general, but what I see from the error log, this board package does not specify a GCC flag to use C++11 features, it uses the old C++ version whereas XOD requires a quite modern (2011) C++. You have to manually edit your package platform.txt file.
Find it in: C:\Users\<You>\xod\__packages__\packages\<board_package_name>\hardware\<family_name>\<version>\platform.txt.
There, find the compiler.c.flags option and add -std=gnu11 to it. This should enable the required C++ features.
But the flag “-std=gnu11” is already there in my “platform.txt” file.
And yes, I was trying to upload XOD code to an unusual Arduino board. Since there was no corresponding board inside XOD, I thought I would be able to use the auto-generated code with the Arduino IDE, since it’s working fine with it.