Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 13:11:10 +0000
From:      Jonathan Belson <jon@witchspace.com>
To:        freebsd-libh@FreeBSD.org
Subject:   Build error with cvs code
Message-ID:  <200301101311.10596.jon@witchspace.com>

index | next in thread | raw e-mail

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
   `Pointer<S>::Pointer(const Pointer<S1>&) [with S1 = HuiQt::DialogWidget, S =
   Hui::DialogWidget]':
/usr/home/jon/projects/libh/lib/hui/HuiQt.cc:153:   instantiated from here
/usr/home/jon/projects/libh/include/Pointer.hh:263: no matching function for
   call to `Pointer<HuiQt::DialogWidget>::operator Hui::DialogWidget*()'
/usr/home/jon/projects/libh/include/Pointer.hh: In constructor
   `Pointer<S>::Pointer(const Pointer<S1>&) [with S1 = HuiQt::WindowWidget, S =
   Hui::WindowWidget]':
/usr/home/jon/projects/libh/lib/hui/HuiQt.cc:174:   instantiated from here
/usr/home/jon/projects/libh/include/Pointer.hh:263: no matching function for
   call to `Pointer<HuiQt::WindowWidget>::operator Hui::WindowWidget*()'
/usr/home/jon/projects/libh/include/Pointer.hh: In constructor
   `Pointer<S>::Pointer(const Pointer<S1>&) [with S1 =
   HuiQt::MenuSubmenuWidget, S = Hui::MenuSubmenuWidget]':
/usr/home/jon/projects/libh/lib/hui/HuiQt.cc:203:   instantiated from here
/usr/home/jon/projects/libh/include/Pointer.hh:263: no matching function for
   call to `Pointer<HuiQt::MenuSubmenuWidget>::operator Hui::MenuSubmenuWidget*
   ()'
*** 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 variable 'dialog' matches
the return type (although I haven't studied the code in much detail yet - I'm probably
missing something important).

Cheers,

 
--Jon

http://www.witchspace.com

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



help

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