OoliteProject / oolite

The main Oolite repository.
https://www.oolite.space
543 stars 70 forks source link

Compile Error on Windows when building debug #456

Closed Bzomak closed 8 months ago

Bzomak commented 8 months ago
src/Core/Scripting/OOJSGlobal.m: In function 'GlobalSetExtraGuiScreenKeys':
src/Core/Scripting/OOJSGlobal.m:536:6: error: used union type value where scalar is required
make[4]: *** [obj.win.spk.dbg/oolite.obj/OOJSGlobal.m.o] Error 1

Found when trying to debug my (currently unsuccessful) experiment of building Oolite on msys2 and mingw64, but confirmed using the OoliteDevelopmentEnvironment_LE_20230121.

Compiled with:

make -f Makefile clean
make -j4 -f Makefile debug

No issues were found when building make -j4 -f Makefile release

AnotherCommander commented 8 months ago

Good catch. Fixed.