hans added a comment. In https://reviews.llvm.org/D47290#1124933, @aaron.ballman wrote:
> In https://reviews.llvm.org/D47290#1124866, @hans wrote: > > > If we really want to special-case NSInteger, and given that you're > > targeting a specific wide-spread pattern maybe that's the right thing to > > do, I think we should make -Wformat accept (move the warning behind > > -Wformat-pedantic I suppose) printing NSInteger with *any* integral type of > > the right size, not just size_t. > > > Would you be similarly okay with %ld and %d on Windows platforms when mixing > up int and long? No, I'm against a general relaxation of -Wformat, but to solve JF's problem I think special-casing NSInteger might be reasonable. Repository: rC Clang https://reviews.llvm.org/D47290 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits