Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
User Journal

Journal voidref's Journal: "-Wno-format-nonliteral"

So, theres a relatively new 'feature' of gcc. It spits out a warning if you use a variable for a format string in the *printf() functions. The warning seems unncesssary, and just creates flebbenge in build output. As the maintainers of gcc have decided to add this warning to -Wall, now I have to turn it off by using: "-Wno-format-nonliteral" Annoying!

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...