FrenkelS / doomtd3

Stripped down version of Doom (Doom8088) for only running timedemo 3
GNU General Public License v2.0
7 stars 2 forks source link

Building i_mac.c with -flto results in internal compiler error #3

Open FrenkelS opened 5 months ago

FrenkelS commented 5 months ago

Building i_mac.c with -flto results in internal compiler error. Is it because I'm using the Multiversal Interfaces instead of Apple Universal Interfaces?

FrenkelS commented 4 months ago

I've tried the Apple Universal Interfaces, but that didn't make a difference.

Turns out the compiler doesn't like the line #define M68K_INLINE(...) = { __VA_ARGS__ } It compiles if I change it to #define M68K_INLINE(...) __attribute__((__raw_inline__( __VA_ARGS__ ))) but the resulting executable crashes.