Time To Pull The Plug

This is a subtitle. There are many like it, but this one is here.

Building Bsdgames-osx on Mac OS X 10.9 'Mavericks'

| Comments

If you’ve upgraded your Mac to Maverics and tried to build bsdgames-osx, you probably found that the compiler compains bitterly about redefinition of typedef ‘va_list’ is a C11 feature and bombs out horribly. The bug in question is in the system headers, too, so fixing the code is obviously out of my hands. There’s an easy fix, though.

Add CFLAGS=“-std=c11” when running bsdmake to build the games, and it compiles fine. That option works fine when building bsdgames-osx on Mountain Lion as well, but does NOT work on Lion.