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 Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
3199980f5a
use rk_PATH_DELIM
2009-11-25 02:01:57 +01:00
Love Hörnquist Åstrand
7ec9f6dd53
drop RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:29:56 +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
21bf016cd9
Prefix domain with "heim_com_err"
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:12:43 +00:00
Love Hörnquist Åstrand
fcf263d838
add COM_ERR_BINDDOMAIN_%s
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:09:24 +00:00
Love Hörnquist Åstrand
ee4283fe81
add more i18n
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:07:28 +00:00
Love Hörnquist Åstrand
f0cdb49457
rename base to base_id since flex defines a function with the argument base
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:21:42 +00:00
Love Hörnquist Åstrand
8ab32b1cdd
rename optind to optidx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:10:50 +00:00
Love Hörnquist Åstrand
877fe34c1b
use strlcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 08:42:45 +00:00
Johan Danielsson
76ab32b3d0
don't add comma after last enum member
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:44:51 +00:00
Johan Danielsson
b34920d09e
just declare er_list directly instead of including com_right in
...
generated header files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 15:44:05 +00:00
Assar Westerlund
67422a6b02
s/[gs]et_progname/[gs]etprogname/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00
Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Johan Danielsson
1158e704bc
use getargs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5812 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-01 09:13:52 +00:00
Assar Westerlund
14f0bcca55
static-ize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5637 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-19 23:16:40 +00:00
Assar Westerlund
448a2af0fb
(generate_h): cast when calling is* to get rid of a warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5533 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-13 21:22:50 +00:00
Assar Westerlund
8ba53e2d99
include err.h
...
(generate_h): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5224 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-11-22 09:39:28 +00:00
Assar Westerlund
81e72296a7
(generate_c): use "..." in include
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5157 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-09-26 15:45:33 +00:00
Johan Danielsson
a4b83a2903
Hack to get rid of ROKEN_NAME.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4891 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-16 20:40:11 +00:00
Assar Westerlund
6d90747939
foo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4466 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-27 04:01:24 +00:00
Björn Groenvall
be97c75d57
Change
...
struct error_table {
char const * const * msgs;
long base;
int n_msgs;
};
struct et_list {
struct et_list *next;
struct error_table *table;
};
extern struct et_list *_et_list;
to be binary compatible with MIT compile_et
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4436 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-17 21:19:44 +00:00
Johan Danielsson
07a7701ef9
(generate): Always return a value.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4433 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-17 15:31:23 +00:00
Johan Danielsson
53f6fd7016
Split generation of c and h files in separate functions. Also relevant
...
changes for the generated parse tree.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4430 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-17 15:05:34 +00:00
Johan Danielsson
4dc8d2ea4f
Replace <com_right.h> with <com_err.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4421 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-16 18:04:00 +00:00
Johan Danielsson
3ffe01b45f
Switch back to a yacc-based compile_et.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4394 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-14 23:46:43 +00:00