kometbomb / klystrack

A chiptune tracker
http://kometbomb.github.io/klystrack/
Other
481 stars 29 forks source link

macOS 10.13.4 (17E202) error on compile > clang: error: unsupported option '--no-strict-aliasing' #236

Open roubarbe opened 6 years ago

roubarbe commented 6 years ago

Here's what happens when I try to compile:

Puppy:klystrack xavierp$ make Generating dependencies for main.c... clang: warning: argument unused during compilation: '-L../klystron/bin.debug' [-Wunused-command-line-argument] Generating dependencies for action.c... clang: warning: argument unused during compilation: '-L../klystron/bin.debug' [-Wunused-command-line-argument] make all CFG=debug Compiling cyd.c... clang: error: unsupported option '--no-strict-aliasing' make[2]: [objs.debug/snd_cyd.o] Error 1 make[1]: [build] Error 2 make: *** [build] Error 2 Puppy:klystrack xavierp$

I haven't yet tried removing and reinstalling gcc.

kometbomb commented 6 years ago

There are some options incompatible with clang. You can remove them from the makefiles. I am not sure if that is enough to make it compile. There's a precompiled binary for OSX in case the compilation fails.

roubarbe commented 6 years ago

I tried removing "--no-strict-aliasing" from the makefile but it seems to also be elsewhere, and I can't find it... I'm don't have a lot of experience compiling stuff.

I'll take the binary if it's the latest version!

I searched a bit and found this http://plugins.ro/klystrack/ which announces itself as version 1.7.4 - which seems to be more recent than what's available on github?