Build error with cvs code

Jonathan Belson <[email protected]> Fri, 10 Jan 2003 13:11:10 +0000
Newsgroups gmane.os.freebsd.devel.libh
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-libh" in the body of the message