From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96222219204723.tru64-unix-managers.marc@archive.invalid> From: Paul Crittenden Date: Wed, 28 Jun 2000 19:56:07 +0000 To: tru64-unix-managers Subject: Samba & gcc X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96222219204723 When trying to compile samba 2.0.7 using gcc 2.95.2 I get the following. >Compiling rpcclient/cmd_srvsvc.c >In file included from /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.2/include/stdarg.h:36, >fr om include/includes.h:203, from rpcclient/cmd_srvsvc.c:29: >/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: >redefinition of `va_list' >/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' >previously declared here >In file included from include/includes.h:291 from rpcclient/cmd_srvsvc.c:29: >/usr/include/net/if.h:144: warning: no semicolon at end of struct or union >/usr/include/net/if.h:182: warning: `struct rtentry' declared inside parameter list >/usr/include/net/if.h:182: warning: its scope is only this definition or declaration, which is >probably not what you want. >/usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter list >In file included from include/includes.h:291 from rpcclient/cmd_srvsvc.c:29: >/usr/include/net/if.h:462: warning: `struct rtentry' declared inside parameter list I realize they are only warnings and samba appears to compile correctly but when I use cc to compile samba I don't get any warnings. I have tried this on two different systems both running Tru-64Unix v4.0f with the same results. Why do I get the warnings with gcc and not with cc. Any ideas? Paul Crittenden Computer System Manager Simpson College e-mail: crittend@simpson.edu "Success in life is not necessarily drawing a good hand, but playing a bad hand well"