[Samba] Samba 2.2.7a, Solaris 5.8 and GCC 2.95.3 compilation warnings

Kees Damen kees.damen at bronswerk.nl
Mon Dec 16 09:13:00 GMT 2002


Hi,

I have just compiled and linked Samba 2.2.7a
on a Solaris 8 server with the GCC 2.95.3 
version compiler. I get the following compilation
warnings. Can i still use the software without a
expected crash?

Compiling passdb/secrets.c
passdb/secrets.c: In function `secrets_named_mutex':
passdb/secrets.c:287: warning: passing arg 2 of `tdb_lock_bystring'
discards qualifiers from 
pointer target type

Compiling lib/system.c
lib/system.c: In function `sys_readdir':
lib/system.c:331: warning: return from incompatible pointer type

Compiling lib/fsusage.c
lib/fsusage.c: In function `sys_fsusage':
lib/fsusage.c:127: warning: passing arg 2 of `statvfs64' from
incompatible pointer type

Compiling tdb/tdbutil.c
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout':
tdb/tdbutil.c:46: warning: passing arg 1 of `tdb_set_lock_alarm'
discards qualifiers from poi
nter target type

Best regards, Kees



More information about the samba mailing list