Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 15:42:06 -0800
From:      Kris Kennaway <kris@FreeBSD.ORG>
To:        groggy@iname.com
Cc:        freebsd-questions <questions@FreeBSD.ORG>, john@T-F-I.freeserve.co.uk
Subject:   Re: kernel compile errs
Message-ID:  <20010124154206.A42795@citusc17.usc.edu>
In-Reply-To: <200101242303.XAA71342@en26.groggy.anc.acsalaska.net>; from groggy@iname.com on Wed, Jan 24, 2001 at 11:03:34PM %2B0000
References:  <200101242303.XAA71342@en26.groggy.anc.acsalaska.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 24, 2001 at 11:03:34PM +0000, groggy@iname.com wrote:
> > >FBSD 3.5.1
> > >
> > >after about 5 years i have been used to FBSD compiling
> > >without errors, so i assume i must have something wrong
> > >in my kernel config, cuz i sure get alot of them now.
> > >it is not bad memory or anything, cuz it's the same
> > >errors everytime.  can someone please point out
> > >the error of my ways?
> > >
> > >please ditto a copy of any replies off the list.
> > >
> > >thanks.
> >=20
> > I searched the rest of your message but couldn't find "error".
> > I see lots of warnings, and I often get similar, but I don't
> > think we need worry as long as the end result Works.
> >=20
> > John.
>=20
> thanks :)  i meant "error" as in that it used to be frowned upon to have
> warnings in kernel compiles.  i understand they are warnings - however -
> FBSD developers used to take some pride in having clean code that didn't
> produce warnings - and i never had any pre 3.0-series. it isn't comforting
> to see 10's of variables throughout the kernel being initialized by
> incompatable pointer types, variables in functions that are unused,
> variables that are uninitialized, etc.  that is kinda sloppy, no? :) for
> developers claiming to uphold the highest standards in coding?

A couple of points:

* We didn't used to enable (as many) compiler warnings during the compile
* recent versions of gcc are much pickier about warnings
* Most warnings are not bugs
* Patches are accepted

Kris

--=20
NOTE: To fetch an updated copy of my GPG key which has not expired,
finger kris@FreeBSD.org

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6b2hOWry0BWjoQKURAnexAJ4qaF12jUOJnS2KFwEZmRSKohG2ogCguj7n
QWkwwaL6ETGbmQ0o0EQV73g=
=HNyF
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010124154206.A42795>