gstconfig.h: add define to force printf format checking for debug messages
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Nov 2009 21:18:26 +0000 (21:18 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Nov 2009 21:23:22 +0000 (21:23 +0000)
commit8abd61339db0f6eb9622ea749107e8ec1a4c64b9
tree3bb0ceb3c2fa663c52a10f4294cf46b1d7e4d0b3
parent70a08107fdda0ec49051bdd3a85a1876f465d030
gstconfig.h: add define to force printf format checking for debug messages

Force printf format checking for debug messages if GST_DISABLE_PRINTF_EXTENSION
is defined. This is useful to quickly check code for printf format mismatches
in debugging messages that would usually not be caught (with glibc+gcc and
printf extensions being used).

To use: make clean; make CFLAGS='-g -O2 -DGST_DISABLE_PRINTF_EXTENSION'
gst/gstconfig.h.in