https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88860
Bug ID: 88860 Summary: Clarify gcc online manual 6.38 Attribute Syntax Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- Hello I propose two changes to clarify gcc online manual 6.38 Attribute Syntax https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax 1) Change "infelicities" to "limitations" - I'm an English native speaking, I don't know that word "infelicities" and I've certainly never used or read it. Could that change be made? 2) Provide a __attribute__ ((format (printf,1,2))); example. Explaining which arguments it relates to. Eg add something like the following :- ================= The following __attribute__ causes gcc to check run printf argument checks on argument '3' which is 'const char * string format' (when visible at compile time), against argument '4' the '...' variadic ellipsis. In the example below, arguments '1' and '2' are not checked. void string_format(const char * prefix, size_t line, const char * const format, ...) __attribute__ ((format (printf,3,4))); ==========