snestracker
snestracker copied to clipboard
Snow leopard Compatibility Fixes
With these fixes, compiling SNES Tracker on Mac OSX 10.6.8 should be similar to the following model:
CC=clang++-mp-9.0 CPP=clang++-mp-9.0 OBJCC=clang++-mp-9.0 CPPFLAGS=-stdlib=libc++ OBJCFLAGS=-stdlib=libc++ make
Special Thanks to @KungFuFurby for figuring out the missing link on getting SNES Tracker to run on Snow Leopard!!
I need this branch (SnowLeopard2) to be tested for good operation at least in a general sense from people not only on OSX Snow Leopard, but modern OSX, Windows, and Linux before I can merge it in with confidence.
OSX 10.11
- compiled fine
- loaded and played a song in ST
- loaded SPC, rar, and 7z files fine in STD
- Seems fine
This fix is KungFuFurby approved! ...with a caveat.
I tested this with clang++ versions 3.7, 5.0, 8.0, and 9.0, all from MacPorts. Currently, 5.0 is the earliest version of the compiler that can be used with this program.
Tested with a manual merge of 0.1.1 (albeit without me committing it). Had to fix merge conflicts (usually related to my original fixes to the control-related warnings) and fix a few warnings related to control reaching the end of a non-void function, as without doing so I was crashing again.
iconutils is not compatible with my OS due to being distributed with a later version of XCode than is supported on my computer, so I temporarily disabled the related code for this occasion. A workaround exists, but for me, would require libicns, which I can get through MacPorts if I haven't already done so.