Re: [PATCH, RFC] Extend __attribute__((format)) with user-specified conversion sequences

2012-04-09 Thread Eddie Kohler
Hi, thanks for the reply. On 4/8/12 6:25 AM, Joseph S. Myers wrote: Character pairs like this don't seem very extensible, in that you are providing meanings for any even-length string, rather than (for example) only a limited subset of strings leaving room for meanings to be assigned later to

Re: [PATCH, RFC] Extend __attribute__((format)) with user-specified conversion sequences

2012-04-08 Thread Joseph S. Myers
On Sat, 31 Mar 2012, Eddie Kohler wrote: The syntax is very simple. The extra argument, an even-length C string constant, is interpreted as a set of character pairs. For example, % says interpret the character '' like you would '%': as a conversion specifier that consumes no arguments from

Re: [PATCH, RFC] Extend __attribute__((format)) with user-specified conversion sequences

2012-04-08 Thread Mike Stump
On Apr 8, 2012, at 3:25 AM, Joseph S. Myers wrote: In principle we want extensibility of format checking, and want it to be as flexible as the built-in checking is regarding the peculiarities of different formats - but we also don't want to export implementation details of format checking