Hacker News new | ask | show | jobs
by fay59 1211 days ago
The flag is -Wformat-nonliteral or -Wformat=2. -Wformat-security only includes a weaker variant that will warn if you pass a variable and no arguments to printf.