On Thu, 26 Nov 1998, Jeffrey Goldberg wrote:
> I got the following warnings, probably due to gcc not quite being set up
> properly
>
> gcc -c -O -I. transport.c
> In file included from exim.h:139,
> from transport.c:12:
> /usr/include/net/if.h:162: warning: `struct rtentry' declared inside parameter list
> /usr/include/net/if.h:162: warning: its scope is only this definition or declaration,
> /usr/include/net/if.h:162: warning: which is probably not what you want.
> /usr/include/net/if.h:162: warning: `struct mbuf' declared inside parameter list
>
> I got this warning dozens of times (if.h is included lots of places).
This kind of problem is usually the result of gcc not being correctly
installed. I seem to remember that it happens, for example, if you
upgrade a Solaris 2.5 system to 2.6 without re-installing Exim.
> Should I worry about these warnings? The binary seems to be ok.
Well, personally I would reinstall gcc and see if it gets rid of them.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***