Subject: Re: uninitialized vars
To: Jaka Jejcic <email@example.com>
From: Quentin Garnier <firstname.lastname@example.org>
Date: 10/18/2005 12:04:09
Content-Type: text/plain; charset=us-ascii
On Tue, Oct 18, 2005 at 11:58:14AM +0200, Jaka Jejcic wrote:
> On Tue, Oct 18, 2005 at 11:43:06AM +0200, Quentin Garnier wrote:
> > On Tue, Oct 18, 2005 at 11:38:28AM +0200, Jaka Jejcic wrote:
> > > Maybe you will all find this ridiculous but I find myself
> > > adding '=3D 0' or '=3D NULL' to many of the files and many of
> > > the variables each time I build the source tree just to
> > > get it compiled, because the build fails for uninitialized vars.
> > >=20
> > > Am I doing something wrong? If not, why aren't those vars set to
> > > some appropriate value?
> > You'd better give a precise example. And are you adding -W flags to
> > the build?
> ./build.sh -T /usr/build/alpha/tools -M /usr/build/alpha/obj -D /usr/buil=
d/alpha/dist -R /usr/build/alpha/release -m alpha release
> it doesn't matter which arch i build for
> COPTS +=3D -pipe -O
> MKNLS =3D yes
> OBJMACHINE =3D yes
> MKOBJDIRS =3D yes
> MKHOSTOBJ =3D yes
> UPDATE =3D no
> BUILD =3D yes
> X11SRCDIR =3D /usr/xsrc
> X11_TYPE =3D native
> well that's it...
I meant an example of the error you get. What's the version of the
source tree, etc.
Quentin Garnier - email@example.com - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
-----END PGP SIGNATURE-----