Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2002 19:32:46 -0400
From:      The Anarcat <anarcat@anarcat.ath.cx>
To:        Alexander Langer <alex@big.endian.de>
Cc:        Alexander Langer <alex@rtp1.SlowBlink.Com>, freebsd-libh@FreeBSD.ORG
Subject:   Re: cvs commit: libh/bin/tclh Makefile tclh.cc libh/include Log.hh Pointer.hh ProgressIndicator.hh String.hh limits libh/include/database DatabaseEngineDb185.hh libh/include/file Archive.hh libh/include/hui Hui.hh libh/lib/common ...
Message-ID:  <20020925233246.GC37362@lenny.anarcat.ath.cx>
In-Reply-To: <20020925222648.GD41575@fump.kawo2.rwth-aachen.de>
References:  <200209252218.g8PMIpki042647@rtp1.SlowBlink.Com> <20020925222648.GD41575@fump.kawo2.rwth-aachen.de>

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

--69pVuxX8awAiJ7fD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I wonder if this[1] is related.

This is probably fixable. I really don't know where that darn limits
file is in GCC 3.x though, locate(1) doesn't seem to find it anywhere.

What's really odd is that this worked before, and that Dim.hh has
never been changed.

Oh well, I guess it's make CC=3Dgcc31 CXX=3Dg++31 from now on.

A.

[1]:


--------------------------------------------------------------
>> Building none (no TVision or Qt)
--------------------------------------------------------------
mkdir -p /usr/home/anarcat/libh/compile/none
=3D=3D=3D> hui
c++  -pipe -g -I/usr/local/include/tcl8.3 -fpic -DPIC -I/usr/home/anarcat/l=
ibh/lib/hui/../../include  -Wall -c /usr/home/anarcat/libh/lib/hui/Hui.cc -=
o Hui.o
In file included from /usr/home/anarcat/libh/lib/hui/../../include/hui/Hui.=
hh:43,
                 from /usr/home/anarcat/libh/lib/hui/Hui.cc:37:
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:37: limits: No such=
 file or directory
In file included from /usr/home/anarcat/libh/lib/hui/../../include/hui/Hui.=
hh:43,
                 from /usr/home/anarcat/libh/lib/hui/Hui.cc:37:
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh: In function `stati=
c Dimension Size::maxWidth()':
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:185: `numeric_limit=
s' undeclared (first use this function)
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:185: (Each undeclar=
ed identifier is reported only once
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:185: for each funct=
ion it appears in.)
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:185: syntax error b=
efore `>'
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:186: warning: contr=
ol reaches end of non-void function `Size::maxWidth()'
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh: In function `stati=
c Dimension Size::maxHeight()':
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:191: syntax error b=
efore `>'
/usr/home/anarcat/libh/lib/hui/../../include/hui/Dim.hh:192: warning: contr=
ol reaches end of non-void function `Size::maxHeight()'
*** Error code 1


On Thu Sep 26, 2002 at 12:26:48AM +0200, Alexander Langer wrote:
> Thus spake Alexander Langer (alex@rtp1.SlowBlink.Com):
>=20
> >   Fix build with GCC 3.x
>=20
> This probably breaks builds with gcc 2.x, but only because gcc 2.x
> doesn't comform to the C++ standards.
>=20
> I suggest we only use GCC 3.x from now.
>=20
> Btw, this fix includes a lot of ugly hacks, e.g. the additional public:
> declarations in Hui.hh, but I saw no other, cleaner, way.  They have to
> be public anyways, since they are used elsewhere.
>=20
> Alex
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-libh" in the body of the message
>=20


--=20
Premature optimization is the root of all evil
                        - Donald Knuth

--69pVuxX8awAiJ7fD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9kkedttcWHAnWiGcRAo9CAKCg//A+kr7YgI+aEX5yYPpccCTMuACdHwLD
dmbG0Az9xEpcMfdiTI4Ekug=
=K0qS
-----END PGP SIGNATURE-----

--69pVuxX8awAiJ7fD--

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




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