07-30-2010 05:10 AM
07-30-2010 02:05 PM
Guillaume,
Looks like that warning might not be one that can be changed via pragma (the link you pointed to seems to suggest that not all warnings can be changed via pragma). Have you tried toggling "-Wformat" instead? According to the gcc documentation the extra args warning is only reported if you have -Wformat or -Wall enabled.
Luis