11 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
3b181a7dab use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:37:49 +00:00
Love Hörnquist Åstrand
63a449b610 use gsskrb5_extract_authz_data_from_sec_context()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:30 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +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
74ede60132 (proto): comment out gss_ctx_id_t groveling for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:15:34 +00:00
Assar Westerlund
5f648d3799 use socklen_t where appropriate instead of int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Assar Westerlund
cb34056dd0 fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:43:18 +00:00
Assar Westerlund
5257816a79 print messages to stderr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7603 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 10:32:44 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
400a2a34cd new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6999 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-21 05:06:06 +00:00