Commit Graph

29 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
cd4909239a drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:13:50 +00:00
Love Hörnquist Åstrand
fe5323f0e5 use unsigned/size_t where approprite
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:20 +00:00
Love Hörnquist Åstrand
254f650128 Use size_t where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:03 +00:00
Johan Danielsson
e262f873e5 commit some forgotten changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-18 12:58:49 +00:00
Johan Danielsson
67881e6e40 silly casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 19:52:22 +00:00
Assar Westerlund
d5375044d0 (auth_init, Name): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-18 03:09:34 +00:00
Johan Danielsson
816f001811 fix types in format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5498 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-11 13:49:03 +00:00
Assar Westerlund
5c4a9b57f0 s/net_write/telnet_net_write/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5072 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-09 23:16:40 +00:00
Assar Westerlund
e9fea047b0 random fixes to make it build with socks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5028 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-13 00:06:56 +00:00
Johan Danielsson
a5f54865d4 merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Assar Westerlund
b3712d39f4 less warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3750 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-02 04:07:03 +00:00
Assar Westerlund
770632d951 const and char-cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3694 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:27:11 +00:00
Björn Groenvall
4b6d3e99e6 Made things compile with socks5-v1.0r1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1748 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 18:40:42 +00:00
Assar Westerlund
5bd22f427a more roken.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1637 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:44:09 +00:00
Assar Westerlund
dd02a92a8b replace sprintf all over the place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:29:33 +00:00
Assar Westerlund
df68edc60f some stupid include-fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1624 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-26 04:08:44 +00:00
Assar Westerlund
3d7c57acdb clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1187 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-24 23:13:35 +00:00
Assar Westerlund
94cb9a93ac got rid of lots of stupid casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1057 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 22:48:40 +00:00
Assar Westerlund
6202f22614 removed all stupid (void)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:23:48 +00:00
Assar Westerlund
239db0f710 removed all stupid register declarations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:04:43 +00:00
Johan Danielsson
1fecad00ea Protoize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@993 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 00:18:18 +00:00
Assar Westerlund
edb66c9354 SOCKS-support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-18 05:35:32 +00:00
Unknown User d91-jda
e8aa2979d5 Show difference between MUTUAL and ONE_WAY KERBEROS4.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@249 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 05:24:34 +00:00
Björn Groenvall
67f906f599 Added RCSID("$Id$");
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@206 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-12-27 13:25:39 +00:00
Unknown User d91-jda
a445da10c5 More ANSI/ISO 9899-1990 to the people!
Now actually builds (not including util) with DEC "cc -std1" and Sun
"acc -Xc".  There are still major prototype conflicts, but there isn't
much to do about this.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@192 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-11-12 20:22:06 +00:00
Unknown User d91-jda
518172f226 Added support for autoconf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@57 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-07-19 23:47:00 +00:00
Unknown User d91-jda
957db4465a Try mutual kerberos4 authentication first
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@35 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-07-11 16:33:11 +00:00
Unknown User d91-jda
071f5a63ad Initial revision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@32 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-07-11 11:34:31 +00:00