Re: Build error with cvs code

The Anarcat <[email protected]> Mon, 13 Jan 2003 12:43:06 -0500
Newsgroups gmane.os.freebsd.devel.libh
Message-ID <[email protected]>
On Fri Jan 10, 2003 at 01:11:10PM +0000, Jonathan Belson wrote:
> Hiya
> 
> 
> Just tried to build the current libh sources (from anon cvs) and I got the
> following error:
> 
> g++31  -pipe -g -I/usr/local/include/tcl8.3 -fpic -DPIC -I/usr/home/jon/projects/libh/lib/hui/../../include -I/usr/X11R6/include -DUSE_Qt -Wall -c /usr/home/jon/projects/libh/lib/hui/HuiQt.cc -o HuiQt.o
> /usr/home/jon/projects/libh/include/Pointer.hh: In constructor

...

> I'm building under -STABLE with gcc 3.1.  Anyone else seen this error?

Yes, I've been having this for a while now... 

> I can't figure out why it needs the operator* at this point since the variable 'dialog' matches
> the return type (although I haven't studied the code in much detail yet - I'm probably
> missing something important).

Thanks for your notification. :) The problem here is that the
Pointer.hh file haven't changed much since it's first inclusion in the
CVS repo. On the other hand, HuiQt.hh changed a *lot*, so I suspect
the problem is more likely to be there instead.

In other words, I have no idea how this error got in. Maybe it's
related with the GCC 3.x upgrade?

Max, your opinion on this?

A.
-- 
Imagination is more important than knowledge
                        - Albert Einstein
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+IvqqttcWHAnWiGcRAlr9AJwJB9cQsR6czkAFrvpbTB+yhG41lgCdGR2Z
yQ9/LhGzayqAquZmHY+zC7E=
=rLqQ
-----END PGP SIGNATURE-----