Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



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!

You knew the job was dangerous when you took it, Fred. -- Superchicken

Working...