gtk-- fix?

Matthew George mdg at secureworks.net
Mon Aug 30 12:54:23 PDT 2004


On Mon, 30 Aug 2004, Matthew George wrote:

>
> gtk-- won't currently compile on RELENG_5.  does anyone know when this
> might be able to happen?  I saw a reference to the problem being related
> to the gcc import, but there weren't any messages in the thread after
> that ...
>

for the sake of the archive:

I was able to work around issues with gtk-- and the new compiler under
RELENG_5 by installing lang/gcc33 and then setting

CXX=	g++33

for x11-toolkits/gtk-- and the ports that link against it (e.g. fwbuilder)

>
> here's the compiler error:
>
> c++ -DHAVE_CONFIG_H -I../.. -DGTKMM_IMPLEMENTATION -DG_LOG_DOMAIN=\"Gtk--\" -I./.. -I.. -I../../gdk-- -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/sigc++-1.0 -O -pipe -Wall -Wno-unused -c wrap.cc  -fPIC -DPIC -o .libs/wrap.lo
> In file included from ./../gtk--/base.h:34,
>                  from ./../gtk--/object.h:30,
>                  from wrap.cc:1:
> ./../gtk--/proxy.h: In member function `SigC::Slot0<R> Gtk::EmitProxySignal0<R, Obj, gObj, index, emit_func>::slot()':
> ./../gtk--/proxy.h:153: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h:153: error: (Each undeclared identifier is reported only once for each function it appears in.)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal0<R, Obj, gObj, index, emit_func>::emit()':
> ./../gtk--/proxy.h:160: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal0<R, Obj, gObj, index, emit_func>::operator()()':
> ./../gtk--/proxy.h:166: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `SigC::Slot1<R, P1> Gtk::EmitProxySignal1<R, P1, Obj, gObj, index, emit_func>::slot()':
> ./../gtk--/proxy.h:265: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal1<R, P1, Obj, gObj, index, emit_func>::emit(P1)':
> ./../gtk--/proxy.h:272: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal1<R, P1, Obj, gObj, index, emit_func>::operator()(P1)':
> ./../gtk--/proxy.h:278: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `SigC::Slot2<R, P1, P2> Gtk::EmitProxySignal2<R, P1, P2, Obj, gObj, index, emit_func>::slot()':
> ./../gtk--/proxy.h:377: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal2<R, P1, P2, Obj, gObj, index, emit_func>::emit(P1, P2)':
> ./../gtk--/proxy.h:384: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal2<R, P1, P2, Obj, gObj, index, emit_func>::operator()(P1, P2)':
> ./../gtk--/proxy.h:390: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `SigC::Slot3<R, P1, P2, P3> Gtk::EmitProxySignal3<R, P1, P2, P3, Obj, gObj, index, emit_func>::slot()':
> ./../gtk--/proxy.h:489: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal3<R, P1, P2, P3, Obj, gObj, index, emit_func>::emit(P1, P2, P3)':
> ./../gtk--/proxy.h:496: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal3<R, P1, P2, P3, Obj, gObj, index, emit_func>::operator()(P1, P2, P3)':
> ./../gtk--/proxy.h:502: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `SigC::Slot4<R, P1, P2, P3, P4> Gtk::EmitProxySignal4<R, P1, P2, P3, P4, Obj, gObj, index, emit_func>::slot()':
> ./../gtk--/proxy.h:601: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal4<R, P1, P2, P3, P4, Obj, gObj, index, emit_func>::emit(P1, P2, P3, P4)':
> ./../gtk--/proxy.h:608: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal4<R, P1, P2, P3, P4, Obj, gObj, index, emit_func>::operator()(P1, P2, P3, P4)':
> ./../gtk--/proxy.h:614: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `SigC::Slot5<R, P1, P2, P3, P4, P5> Gtk::EmitProxySignal5<R, P1, P2, P3, P4, P5, Obj, gObj, index, emit_func>::slot()':
> ./../gtk--/proxy.h:713: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal5<R, P1, P2, P3, P4, P5, Obj, gObj, index, emit_func>::emit(P1, P2, P3, P4, P5)':
> ./../gtk--/proxy.h:720: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal5<R, P1, P2, P3, P4, P5, Obj, gObj, index, emit_func>::operator()(P1, P2, P3, P4, P5)':
> ./../gtk--/proxy.h:726: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `SigC::Slot6<R, P1, P2, P3, P4, P5, P6> Gtk::EmitProxySignal6<R, P1, P2, P3, P4, P5, P6, Obj, gObj, index, emit_func>::slot()':
> ./../gtk--/proxy.h:825: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal6<R, P1, P2, P3, P4, P5, P6, Obj, gObj, index, emit_func>::emit(P1, P2, P3, P4, P5, P6)':
> ./../gtk--/proxy.h:832: error: `obj' undeclared (first use this function)
> ./../gtk--/proxy.h: In member function `R Gtk::EmitProxySignal6<R, P1, P2, P3, P4, P5, P6, Obj, gObj, index, emit_func>::operator()(P1, P2, P3, P4, P5, P6)':
> ./../gtk--/proxy.h:838: error: `obj' undeclared (first use this function)
> In file included from ./../gtk--/object.h:30,
>                  from wrap.cc:1:
> ./../gtk--/base.h: In member function `interf* G_List_Cpp_Iterator<impl, interf>::operator*() const':
> ./../gtk--/base.h:485: error: `wrap' is not a member of `Gtk'
>
>
>

-- 
Matthew George
SecureWorks Technical Operations
404.327.6339



More information about the freebsd-ports mailing list