[openal] Questioning about linking to OS X 10.4 SDK

Chris Robinson chris.kcat at gmail.com
Fri Nov 7 07:29:11 EST 2014

On 11/06/2014 07:53 AM, Lubo Diakov wrote:
> Though even after cmake worked, make (on 1.16) still fails: (I tried
> also with gmake explicitly given what I wrote before, but it still
> errors out)
> [  9%] Building C object CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o
> /Users/lubod/Downloads/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:
> In function ‘AddEffectSlotArray’:
> /Users/lubod/Downloads/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> error: conflicting types for ‘static_assertion___COUNTER__’

Hmm, right. I forgot __COUNTER__ was added to GCC later (4.3 or 4.4?), 
and that's used for compile-time assertions (a static_assert fallback). 
The way around that would be to either disable compile-time assertions, 
or declare a type without a name, which will function but makes GCC spew 
out tons "declaration doesn't declare anything"-type warnings.

More information about the openal mailing list