There was an error while loading. Please reload this page.
pragma __builtin_warn_bad_printf_format is a pragma directive that's used to mark printf-like functions.
pragma __builtin_warn_bad_printf_format
Functions marked will have their format argument and variadic arguments checked at compile-time.
format
The format is checked against the format used by the standard printf(String, ...) function from 2.7/terminal.adept.
printf(String, ...)
2.7/terminal.adept
Although it's similar to printf(*ubyte, ...), the format of printf(String, ...) isn't completely the same!
printf(*ubyte, ...)
String
pragma __builtin_warn_bad_printf_format func myPrintfToFile(file *FILE, format String, arguments ...) int { }
Table of Contents