Some build stuff...

Ryan C. Gordon icculus at
Tue Oct 2 23:41:59 EDT 2001

Can we get some options in SDL_sound's build system for something like
--enable-debug (or --disable-optimizations) so we can toggle a few things:

  Defining DEBUG and DEBUG_CHATTER for debug builds, and NDEBUG (disables
  assertions) for optimized builds. Optimized builds could probably do
  without the -g option too, but I guess individuals can strip the
  binaries themselves if they are concerned.

  The gcc -O2 flag only used without debugging enabled, since it makes
  stepping in gdb a pain in the arse.

  -Werror if at all possible. I just had a segfault that I would have
  caught at compile time (passed an integer where a pointer should be)
  that I could have caught without a debugger if the warning hadn't
  scrolled off my screen.


More information about the sdlsound mailing list