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 the engine and games.
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 the engine and games.
Thanks to chasonr for the patch.