Commit Graph

8 Commits

Author SHA1 Message Date
Roland C. Dowdeswell cc47c8fa7b Turn on -Wextra -Wno-sign-compare -Wno-unused-paramter and fix issues.
We turn on a few extra warnings and fix the fallout that occurs
when building with --enable-developer.  Note that we get different
warnings on different machines and so this will be a work in
progress.  So far, we have built on NetBSD/amd64 5.99.64 (which
uses gcc 4.5.3) and Ubuntu 10.04.3 LTS (which uses gcc 4.4.3).

Notably, we fixed

	1.  a lot of missing structure initialisers,

	2.  unchecked return values for functions that glibc
	    marks as __attribute__((warn-unused-result)),

	3.  made minor modifications to slc and asn1_compile
	    which can generate code which generates warnings,
	    and

	4.  a few stragglers here and there.

We turned off the extended warnings for many programs in appl/ as
they are nearing the end of their useful lifetime, e.g.  rsh, rcp,
popper, ftp and telnet.

Interestingly, glibc's strncmp() macro needed to be worked around
whereas the function calls did not.

We have not yet tried this on 32 bit platforms, so there will be
a few more warnings when we do.
2012-02-20 19:45:41 +00:00
Love Hörnquist Åstrand 4c639408e6 drop krb4 2011-08-10 09:27:48 -07:00
Love Hörnquist Åstrand 7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hörnquist Åstrand c2fcf3f57d Add missing files, from Buchan Milne.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-13 20:35:52 +00:00
Love Hörnquist Åstrand d8fb637ef8 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 17:09:30 +00:00
Johan Danielsson 0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Assar Westerlund 831f7eec3a (LDADD): remove unused libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 22:50:35 +00:00
Assar Westerlund 6cf377153d add port of bsd rcp changed to use existing rsh, contributed by Richard Nyberg <rnyberg@it.su.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-27 18:36:21 +00:00