<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rtrieu@google.com" title="rtrieu@google.com">rtrieu@google.com</a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Warning fixit induces lookup failure + error"
href="http://llvm.org/bugs/show_bug.cgi?id=19015">bug 19015</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Warning fixit induces lookup failure + error"
href="http://llvm.org/bugs/show_bug.cgi?id=19015#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Warning fixit induces lookup failure + error"
href="http://llvm.org/bugs/show_bug.cgi?id=19015">bug 19015</a>
from <span class="vcard"><a class="email" href="mailto:rtrieu@google.com" title="rtrieu@google.com">rtrieu@google.com</a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>