[cfe-commits] r66387 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.def lib/Sema/SemaExpr.cpp test/Sema/exprs.c

Mike Stump mrs at apple.com
Sun Mar 8 12:47:06 PDT 2009


On Mar 8, 2009, at 12:39 PM, Chris Lattner wrote:
> +DIAG(warn_stringcompare, WARNING,
> +     "comparison against a string literal is undefined (use  
> strcmp?)")

undefined doesn't mean what you think it means.  Use any other word,  
unspecified for example is better.



More information about the cfe-commits mailing list