[Samba] Compilation warning on 2.2.7a

Rich Smrcina
2002-12-20T16:40:00Z

It seems pretty typical that compilation warnings can be essentially ignored.
Be that as it may, if I can't find evidence that a warning can be ignored in
the archives, I am compelled to ask about it.  A nod that these are OK or a
fix for them if they are not OK would be appreciated.

I am getting several warnings with winbind_nss.c :

Compiling nsswitch/winbind_nss.c with -fPIC
nsswitch/winbind_nss.c: In function `fill_pwent':
nsswitch/winbind_nss.c:600: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c:612: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c:629: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c:641: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c:653: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `fill_grent':
nsswitch/winbind_nss.c:690: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c:702: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c:728: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c:753: warning: passing arg 2 of `get_static' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwent_r':
nsswitch/winbind_nss.c:870: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwuid_r':
nsswitch/winbind_nss.c:920: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c:933: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwnam_r':
nsswitch/winbind_nss.c:982: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c:995: warning: passing arg 4 of `fill_pwent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrent_r':
nsswitch/winbind_nss.c:1119: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrnam_r':
nsswitch/winbind_nss.c:1179: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c:1193: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrgid_r':
nsswitch/winbind_nss.c:1242: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
nsswitch/winbind_nss.c:1256: warning: passing arg 5 of `fill_grent' from
incompatible pointer type
Linking nsswitch/libnss_winbind.so
--
Rich Smrcina
Sytek Services, Inc.
Milwaukee, WI
rsmrcina@wi.rr.com
rsmrcina@sytek-services.com

Catch the WAVV!  Stay for Requirements and the Free for All!
Update your S/390 skills in 4 days for a very reasonable price.
WAVV 2003 in Winston-Salem, NC.
April 25-29, 2003
For details see http://www.wavv.org