<p dir="ltr">It's common to put this sort of declaration in a header and not use it. Do we warn if the function is not in the main source file?</p>
<div class="gmail_quote">On 18 Oct 2013 06:49, "Rafael Espíndola" <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 18 October 2013 01:09, Bill Wendling <<a href="mailto:isanbard@gmail.com">isanbard@gmail.com</a>> wrote:<br>
> It had the same behavior as gcc when the -Wcast-qual flag was used, so maybe the comment is incorrect?<br>
<br>
 -Wcast-qual?<br>
<br>
 The warning does seem reasonable. As far as I know, in C<br>
<br>
inline static void f4();<br>
void f4() { }<br>
<br>
f4 is just a static non-inline function, but pr6281 should be marked<br>
as invalid then.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div>