Commit Graph

16 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
Jeffrey Altman
d6bff3199d add cache type column to kswitch output
Change-Id: I6b27ba6f7c853da56f81b45b312ef06e13f2dbb0
2011-09-26 01:56:14 -04:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
f5f9014c90 Warning fixes from Christos Zoulas
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Love Hornquist Astrand
d36ee8f0b6 add readline alternative 2010-11-27 19:51:26 -08:00
Love Hornquist Astrand
55e96fabf2 switch kswitch to kcc 2010-11-25 09:29:29 -08:00
Love Hornquist Astrand
9ee7dd24d9 support kswitch -i, interactive mode 2010-11-22 13:19:27 -08:00
Love Hornquist Astrand
4621ffd93c mark usage() as noreturn 2009-08-20 20:13:41 -07:00
Love Hornquist Astrand
0c112865b4 Drop RCSID 2009-08-20 19:03:15 -07:00
Love Hornquist Astrand
f5ad76fe70 set id = NULL to avoid warning 2009-08-20 19:02:18 -07:00
Love Hörnquist Åstrand
fe1a976ae2 new krb5_cc_cache_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:21 +00:00
Love Hörnquist Åstrand
c1742b38de select heimdal_kuser as text domain
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-14 11:54:29 +00:00
Love Hörnquist Åstrand
cad8856dc3 N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-14 11:53:36 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
e7cbe09808 Implement --principal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:49:04 +00:00
Love Hörnquist Åstrand
e3f2c724e2 Enable switching between existing caches.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:35 +00:00