Heimdal shadow global declaration

Stefan (metze) Metzmacher metze at metzemix.de
Thu Jan 30 08:35:48 GMT 2003


Hi Jeremy,

It seems like compiling with heimdal on SuSE8.1 works,
but is there a way to avoid the 'shadows a global declaration',
without changing the heimdal headers?

metze

Compiling smbd/message.c
In file included from /usr/include/heimdal/krb5.h:670,
                  from include/includes.h:400,
                  from smbd/message.c:26:
/usr/include/heimdal/krb5-protos.h:117: warning: declaration of `close' 
shadows a global declaration
/usr/include/unistd.h:306: warning: shadowed declaration is here
/usr/include/heimdal/krb5-protos.h:1115: warning: declaration of `index' 
shadows a global declaration
/usr/include/string.h:252: warning: shadowed declaration is here
/usr/include/heimdal/krb5-protos.h:1854: warning: declaration of `ctime' 
shadows a global declaration
/usr/include/time.h:217: warning: shadowed declaration is here
/usr/include/heimdal/krb5-protos.h:2317: warning: declaration of `send' 
shadows a global declaration
/usr/include/sys/socket.h:132: warning: shadowed declaration is here
/usr/include/heimdal/krb5-protos.h:2324: warning: declaration of `send' 
shadows a global declaration
/usr/include/sys/socket.h:132: warning: shadowed declaration is here
/usr/include/heimdal/krb5-protos.h:2332: warning: declaration of `send' 
shadows a global declaration
/usr/include/sys/socket.h:132: warning: shadowed declaration is here
In file included from include/includes.h:416,
                  from smbd/message.c:26:
/usr/include/heimdal/gssapi.h:625: warning: declaration of `open' shadows a 
global declaration
/usr/include/fcntl.h:70: warning: shadowed declaration is here


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 



More information about the samba-technical mailing list