compuphase / pawn

Pawn is a quick and small scripting language that requires few resources.
http://www.compuphase.com/pawn/
Other
497 stars 80 forks source link

Version number is too large to fit in the 32 or 64 bit space of old mach-o format #89

Open Voxar opened 6 months ago

Voxar commented 6 months ago

Building on MacOS arm64

The clang linker complains about the large minor version number (4.1.7152) that does not fit in 10 bits

uint64_t Options::parseVersionNumber64(const char* versionString) https://opensource.apple.com/source/ld64/ld64-274.2/src/ld/Options.cpp.auto.html

ld: warning: truncating -dylib_current_version to fit in 32-bit space used by old mach-o format
ld: malformed 64-bit a.b.c.d.e version number: 4.1.7152
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [compiler/libpawnc.4.1.7152.dylib] Error 1
make[1]: *** [compiler/CMakeFiles/pawnc.dir/all] Error 2
make: *** [all] Error 2