[1980] in Kerberos_V5_Development
Re: -Wall flamage
daemon@ATHENA.MIT.EDU (Theodore Y. Ts'o)
Tue Nov 19 18:22:39 1996
Date: Tue, 19 Nov 1996 18:20:40 -0500
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: Tom Yu <tlyu@MIT.EDU>
Cc: krbdev@MIT.EDU
In-Reply-To: Tom Yu's message of Tue, 19 Nov 1996 17:10:40 -0500,
<9611192210.AA27291@tesla-coil.MIT.EDU>
Date: Tue, 19 Nov 1996 17:10:40 -0500
From: Tom Yu <tlyu@MIT.EDU>
We should try to eliminate at least *some* of the warnings issued by
gcc -Wall, among them things like "control reaches end of non-void
function" and "return with no value in function returning non-void",
etc. Fixing them now may result in fewer headaches later on.
Most of, as far as I know, is broken Berkeley code that don't declare
void functions as void. Thus, it's not really a problem. I'd much
rather concentrate on real problems that stuff which is merely gcc -Wall
flamage.
Running various pieces of our code against purify to make sure we don't
have any memory allocation errors would be a much better use of time,
for example.....
- Ted