When configured without sound, gtkoptions.c doesn't compile any more :

gtkoptions.c:1793: error: `NUM_SOUNDS' undeclared here (not in a function)
gtkoptions.c: In function `SetSoundSettings':
gtkoptions.c:1806: error: `fSound' undeclared (first use in this function)
gtkoptions.c:1806: error: (Each undeclared identifier is reported only once
gtkoptions.c:1806: error: for each function it appears in.)
gtkoptions.c: In function `SoundDefaultClicked':
gtkoptions.c:1850: warning: initialization makes pointer from integer without a cast
gtkoptions.c: In function `SoundSelected':
gtkoptions.c:1927: error: `aszSoundDesc' undeclared (first use in this function)
gtkoptions.c: In function `AddSoundWidgets':
gtkoptions.c:2110: warning: initialization makes pointer from integer without a cast gtkoptions.c:2116: error: `aszSoundDesc' undeclared (first use in this function)
gtkoptions.c: At top level:
gtkoptions.c:1793: error: storage size of `soundDetails' isn't known
*** Error code 1

There are some #if USE_SOUND blocks further down in this file (starting around line 1970) but it looks like more of the code should be subject to this condition.


_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to