Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: