3.0.21b warnings on AIX

Gerald (Jerry) Carter jerry at samba.org
Sat Jan 28 16:37:00 GMT 2006

Hash: SHA1

William Jojo wrote:
> Jerry,
> AIX 5.2 using gcc 3.4.4.
> I checked out 13207 this morning to test compiler warnings.
> First two I think are innocuous and I'll look at a patch 
> for 3.0.22 (or is it 3.2.0 ;-) )

Right now, it will be 3.0.22.  I'll open the thread
up again on Monday and explain why I changed my mind.

> Compiling lib/sysacls.c
> lib/sysacls.c: In function `sys_acl_set_file':
> lib/sysacls.c:2935: warning: passing arg 1 of `chacl' discards qualifiers
> from pointer target type
> Compiling smbd/service.c
> smbd/service.c: In function `make_connection_snum':
> smbd/service.c:500: warning: passing arg 2 of `get_current_groups' from
> incompatible pointer type
> This one could be a problem since the const char is considered unsigned.
> nsswitch/wbinfo.c: In function `main':
> nsswitch/wbinfo.c:1220: warning: comparison is always false due to limited
> range of data type
> Still testing, but I see no problems....

Thanks.  I'll look at the 3rd warning.  I think the first
two are just cast problems.

cheers, jerry
I live in a Reply-to-All world                -----------------------
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba-technical mailing list