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?
On 18 Oct 2013 06:49, "Rafael Espíndola" <[email protected]> wrote:

> On 18 October 2013 01:09, Bill Wendling <[email protected]> wrote:
> > It had the same behavior as gcc when the -Wcast-qual flag was used, so
> maybe the comment is incorrect?
>
>  -Wcast-qual?
>
>  The warning does seem reasonable. As far as I know, in C
>
> inline static void f4();
> void f4() { }
>
> f4 is just a static non-inline function, but pr6281 should be marked
> as invalid then.
>
> Cheers,
> Rafael
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to