From owner-freebsd-libh Fri Jan 10 5:11:20 2003 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10F3637B401 for ; Fri, 10 Jan 2003 05:11:18 -0800 (PST) Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13CD443ED8 for ; Fri, 10 Jan 2003 05:11:12 -0800 (PST) (envelope-from jon@witchspace.com) Received: from witchspace.com ([80.3.251.242]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20030110131110.IIHY14589.mta02-svc.ntlworld.com@witchspace.com> for ; Fri, 10 Jan 2003 13:11:10 +0000 Received: (qmail 3236 invoked from network); 10 Jan 2003 13:11:10 -0000 Received: from unknown (HELO lexx.witchspace.com) (192.168.0.1) by dookie.witchspace.com with SMTP; 10 Jan 2003 13:11:10 -0000 Content-Type: text/plain; charset="us-ascii" From: Jonathan Belson To: freebsd-libh@FreeBSD.org Subject: Build error with cvs code Date: Fri, 10 Jan 2003 13:11:10 +0000 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301101311.10596.jon@witchspace.com> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hiya Just tried to build the current libh sources (from anon cvs) and I got th= e following error: g++31 -pipe -g -I/usr/local/include/tcl8.3 -fpic -DPIC -I/usr/home/jon/p= rojects/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 `Pointer::Pointer(const Pointer&) [with S1 =3D HuiQt::DialogWid= get, S =3D Hui::DialogWidget]': /usr/home/jon/projects/libh/lib/hui/HuiQt.cc:153: instantiated from her= e /usr/home/jon/projects/libh/include/Pointer.hh:263: no matching function = for call to `Pointer::operator Hui::DialogWidget*()' /usr/home/jon/projects/libh/include/Pointer.hh: In constructor `Pointer::Pointer(const Pointer&) [with S1 =3D HuiQt::WindowWid= get, S =3D Hui::WindowWidget]': /usr/home/jon/projects/libh/lib/hui/HuiQt.cc:174: instantiated from her= e /usr/home/jon/projects/libh/include/Pointer.hh:263: no matching function = for call to `Pointer::operator Hui::WindowWidget*()' /usr/home/jon/projects/libh/include/Pointer.hh: In constructor `Pointer::Pointer(const Pointer&) [with S1 =3D HuiQt::MenuSubmenuWidget, S =3D Hui::MenuSubmenuWidget]': /usr/home/jon/projects/libh/lib/hui/HuiQt.cc:203: instantiated from her= e /usr/home/jon/projects/libh/include/Pointer.hh:263: no matching function = for call to `Pointer::operator Hui::MenuSubmenuW= idget* ()' *** Error code 1 Stop in /usr/home/jon/projects/libh/lib/hui. *** Error code 1 Stop in /usr/home/jon/projects/libh/lib. *** Error code 1 Stop in /usr/home/jon/projects/libh. *** Error code 1 Stop in /usr/home/jon/projects/libh. I'm building under -STABLE with gcc 3.1. Anyone else seen this error? I can't figure out why it needs the operator* at this point since the var= iable 'dialog' matches the return type (although I haven't studied the code in much detail yet -= I'm probably missing something important). Cheers, =20 --Jon http://www.witchspace.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message