http://llvm.org/bugs/show_bug.cgi?id=19015
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from [email protected] --- T.h:7:37: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] inline long MyAbs2(long d) { return ::abs(d); } ^ T.h:7:37: note: use function 'std::abs' instead inline long MyAbs2(long d) { return ::abs(d); } ^~~~~ std::abs 1 warning generated. -Wabsolute-value no longer generates errors during name lookup. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
