RSS/Atom feed Twitter
Site is read-only, email is disabled

Is the flag '-Wformat-non-literal' useful, or should be fixed?

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Is the flag '-Wformat-non-literal' useful, or should be fixed? RyōTa SimaMoto 15 Jun 00:56
RyōTa SimaMoto
2013-06-15 00:56:33 UTC (over 11 years ago)

Is the flag '-Wformat-non-literal' useful, or should be fixed?

# Is the flag '-Wformat-non-literal' useful, or should be fixed?

Hi,

configure.ac sets extra_warnings with '-Wformat-non-literal', but you can see that GCC does not understand this flag when the configure script runs, and Clang gives warnings while building: | clang: warning: unknown warning option '-Wformat-non-literal'; | did you mean '-Wformat-nonliteral'? [-Wunknown-warning-option] | warning: unknown warning option '-Wformat-non-literal'; did you mean | '-Wformat-nonliteral'? [-Wunknown-warning-option]

Would you mind to fix this?