On 18 October 2013 13:50, Richard Smith <[email protected]> wrote:
> 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?
>
If I create a test.h header with
------------------------------
inline static void f1();
void f1() {}
inline static void f2() {}
-----------------------------
I get a warning for f1, but not f2.
Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits