inline functions should not trigger `no previous declaration'
Jeffrey A Law
law@cygnus.com
Tue Nov 10 00:24:00 GMT 1998
In message < 13886.36572.964791.805306@lasker.worley.com >you write:
> -Wmissing-declarations is nice, except for inline functions, since
> those are generally found in header files anyways. Folks have been
> observed putting this sort of ugliness in their header files to be
> able to continue using -Wmissing-declarations:
That is precisely how missing-declarations is defined to work in the
manual.
If you don't like it, don't use it :-)
jeff
More information about the Gcc-bugs
mailing list