Whales / Cataclysm

A post-apocalyptic roguelike.
cataclysmrl.blogspot.com
Other
323 stars 89 forks source link

One line fix for building on OS X #43

Open tinyogre opened 12 years ago

tinyogre commented 12 years ago

Apple ships a very old GCC (4.2). This one line change (const ref in npc_opinion constructor) is the only thing I needed to change for simply typing "make" to build a working executable on OS X using the stock GCC. (I may have necessary libraries, like curses, installed via homebrew, I didn't even check any dependencies, it just worked)

PhilHarnish commented 12 years ago

This was the only change I had to make as well. Thanks!

cwc commented 12 years ago

:+1: Fixed the build for me as well.