Commit Graph

13 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 7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hörnquist Åstrand 57ed4efd37 drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:14:20 +00:00
Love Hörnquist Åstrand 7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +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 9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Johan Danielsson 0f23e17f6f fix broken checkin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5652 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-20 13:58:20 +00:00
Assar Westerlund f42ca9c63a correct path to Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5638 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-19 23:16:50 +00:00
Johan Danielsson e927fa05a5 include Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5580 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 10:24:53 +00:00
Assar Westerlund 641495b450 removed read_password.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2542 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-23 05:53:38 +00:00
Johan Danielsson 08ca8431aa AUTOMAKE_OPTIONS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2360 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 03:16:27 +00:00
Assar Westerlund e686a72a20 support conditional KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2219 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-12 22:33:32 +00:00
Assar Westerlund 7841b971fb Makefile.am and quick hacks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2140 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-10 12:54:14 +00:00