On Tue, Jan 24, 2012 at 1:48 PM, Joerg Sonnenberger <[email protected]
> wrote:

> On Tue, Jan 24, 2012 at 09:29:54PM -0000, Ted Kremenek wrote:
> > URL: http://llvm.org/viewvc/llvm-project?rev=148859&view=rev
> > Log:
> > Teach scanf/printf checking about '%Ld' and friends (a GNU extension).
>  Fixes PR 9466.
>
> Can we please stop adding GNU extensions for scanf/printf until they have
> a proper options to request them?


I don't understand, what options do you want?

If you would like some ability to enforce strictness, I think ext-warn and
other such diagnostics for use of extensions might be an option. Propose an
actual feature with patches?


> At the moment, I consider this more
> harmful than complaining about them unconditionally.
>

Clang does aim for compatibility, and this is nothing new. I think it is
very reasonable for folks to get Clang to not warn on correctly behaving
code.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to