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>

next in thread | raw e-mail | index | archive | help
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<S>::Pointer(const Pointer<S1>&) [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<HuiQt::DialogWidget>::operator Hui::DialogWidget*()'
/usr/home/jon/projects/libh/include/Pointer.hh: In constructor
   `Pointer<S>::Pointer(const Pointer<S1>&) [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<HuiQt::WindowWidget>::operator Hui::WindowWidget*()'
/usr/home/jon/projects/libh/include/Pointer.hh: In constructor
   `Pointer<S>::Pointer(const Pointer<S1>&) [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<HuiQt::MenuSubmenuWidget>::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




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