mifki / df-twbt

Text Will Be Text
186 stars 30 forks source link

build using the old ABI for glib to match dfhack #67

Closed db48x closed 6 years ago

db48x commented 6 years ago

I found that I got an error loading the TWBT plugin, and after debugging figured out that it's because of a difference in the ABI used when compiling DFHack and TWBT. It should cause no harm to unconditionally define this macro, as older tools will ignore it.

Documentation is at https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

pronvit commented 6 years ago

Are you building TWBT yourself? Because I'm not using GCC 5 for my builds so they should not be affected by this anyway.

db48x commented 6 years ago

Yes, I built it myself using GCC 7.2.1.