Define a macro PRINTF_F in dd_share.h, which indicates printf-like functions, so that GCC can check their parameters. If GCC is not the compiler, PRINTF_F defines to nothing.
Make sure the parameters match the format string for all printf-like functions in glBSP.
Define a macro PRINTF_F in dd_share.h, which indicates printf-like functions, so that GCC can check their parameters. If GCC is not the compiler, PRINTF_F defines to nothing.
Make sure the parameters match the format string for all printf-like functions in glBSP.
Thanks to chasonr for the patch.