For example:

ll (ell-ell): Specifies that a following d, i, o, u, x, or X conversion 
specifier applies to a long long int or unsigned long long int argument; or 
that a following n conversion specifier applies to a pointer to a long long int 
argument.

On Aug 2, 2012, at 10:31 AM, Ted Kremenek <[email protected]> wrote:

> C99 says you can use %n with the length modifiers 'hh', 'h', 'l', 'j', 'z', 
> and 't'.
> 
> On Aug 1, 2012, at 6:43 AM, Hans Wennborg <[email protected]> wrote:
> 
>> Hi all,
>> 
>> As far as I know, using any length modifier with %n is undefined
>> behavior. For some reason, Clang doesn't think so, but that's probably
>> unintentional? The attached patch makes Clang warn about it.
>> 
>> Please take a look.
>> 
>> Thanks,
>> Hans
>> <wformat_n_length_modifiers.patch>_______________________________________________
>> cfe-commits mailing list
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to