From owner-freebsd-libh Tue Jan 14 15:28:40 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 6603137B401 for ; Tue, 14 Jan 2003 15:28:39 -0800 (PST) Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 591F443F6D for ; Tue, 14 Jan 2003 15:28:38 -0800 (PST) (envelope-from okumoto@ucsd.edu) Received: from multivac.sdsc.edu (IDENT:DLXyg2xNKbfLGQU/LVRV7DPv1nsnY4oq@multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.11.6/8.11.6/server/51) with ESMTP id h0ENSSK08329; Tue, 14 Jan 2003 15:28:28 -0800 (PST) Received: by multivac (8.11.6+Sun/1.11-SolarisClient) id h0ENSR105649; Tue, 14 Jan 2003 15:28:27 -0800 (PST) To: The Anarcat Cc: Jonathan Belson , freebsd-libh@FreeBSD.ORG Subject: Re: Build error with cvs code References: <200301101311.10596.jon@witchspace.com> <20030113174306.GA82141@lenny.anarcat.ath.cx> From: Max Okumoto Date: 14 Jan 2003 15:28:27 -0800 In-Reply-To: <20030113174306.GA82141@lenny.anarcat.ath.cx> Message-ID: Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 I have tried to fix it in the past but since I was working on a replacement I haven't put much effort into fixing it. Would anyone mind if I replace the code with what I am working on? Max Okumoto The Anarcat writes: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message