Kees Damen
2002-Dec-16 09:13 UTC
[Samba] Samba 2.2.7a, Solaris 5.8 and GCC 2.95.3 compilation warnings
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
Gerald (Jerry) Carter
2002-Dec-16 14:27 UTC
[Samba] Samba 2.2.7a, Solaris 5.8 and GCC 2.95.3 compilation warnings
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 16 Dec 2002, Kees Damen wrote:> 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?Yes. There are warnings caused by the use on const in some parameters. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9/eJiIR7qMdg1EfYRAoVtAKDo+cG/EviNd+EEg3GrLWgr2P7oOQCeNttq SyVsuui/ui3Q2AEQ3EZ86RM=QN+H -----END PGP SIGNATURE-----