compiler warnings

Nick Schermer nickschermer at gmail.com
Thu Dec 25 14:06:23 CET 2008


Did a bit of testing on some of the flags in the article and those are a bit
annoying:

-Wdeclaration-after-statement:
Could be quite hard to fix, with arrays like this:
gdouble[][6] = { a_bunch_of_numbers_and_brackets };

-Wformat-nonliteral:
Makes g_strdup_printf (format, message); unusable (both variables). Same for
strftime related functions.

Nick



More information about the Xfce4-dev mailing list