[Xfc-dev] XFC Compilation error with gcc 3.3.5 and 3.4.3

Jeff Franks jcfranks at tpg.com.au
Fri Mar 4 21:14:22 CET 2005


Jeff Franks wrote:

> Jasper Huijsmans wrote:
>
>> Xavier Otazu wrote:
>> ...
>>
>>>
>>>
>>> When using gcc 3.3.5 I receive:
>>>
>>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../../libXFCcore 
>>> -I../../../libXFCui -g -O2
>>> -Wall -ansi -pedantic-errors -I/usr/local/include/sigc++-2.0
>>> -I/usr/local/lib/sigc++-2.0/include -pthread -I/usr/include/glib-2.0
>>> -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 
>>> -I/usr/lib/gtk-2.0/include
>>> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
>>> -I/usr/include/freetype2 -I/usr/include/glib-2.0 
>>> -I/usr/lib/glib-2.0/include -g
>>> -O2 -Wall -ansi -pedantic-errors -MT colorselection.lo -MD -MP -MF
>>> .deps/colorselection.Tpo -c colorselection.cc  -fPIC -DPIC -o
>>> .libs/colorselection.o 
>>> /usr/local/include/c++/3.3.5/bits/stl_construct.h: In
>>> function `void    std::_Construct(_T1*, const _T2&) [with _T1 = 
>>> Xfc::Gdk::Color,
>>> _T2 =    Xfc::Gdk::Color]':
>>> /usr/local/include/c++/3.3.5/bits/stl_vector.h:599:   instantiated 
>>> from `void
>>> std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = 
>>> Xfc::Gdk::Color,
>>> _Alloc = std::allocator<Xfc::Gdk::Color>]' colorselection.cc:88:   
>>> instantiated
>>> from here /usr/local/include/c++/3.3.5/bits/stl_construct.h:78: 
>>> error: no
>>> matching    function for call to `Xfc::Gdk::Color::operator 
>>> new(unsigned int,
>>> void*&)' ../../../libXFCcore/xfc/trackable.hh:168: error: candidates 
>>> are: static
>>> void*    Xfc::Trackable::operator new(unsigned int)
>>> make[5]: *** [colorselection.lo] Error 1
>>> make[5]: Leaving directory `/usr/local/src/xfc-4.3.0/libXFCui/xfc/gtk'
>>> make[4]: *** [all-recursive] Error 1
>>> make[4]: Leaving directory `/usr/local/src/xfc-4.3.0/libXFCui/xfc/gtk'
>>> make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory `/usr/local/src/xfc-4.3.0/libXFCui/xfc'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/usr/local/src/xfc-4.3.0/libXFCui'
>>> make[1]: *** [all] Error 2
>>> make[1]: Leaving directory `/usr/local/src/xfc-4.3.0/libXFCui'
>>> make: *** [all-recursive] Error 1
>>>
>>
>> I just got this same error on lunar with gcc 3.3.3. Any ideas?
>>
> Yes, but I can't remember why. I'll have to dust off this version of 
> gcc and have a look, and get back to you.
>
> Jeff
>




More information about the Xfc-dev mailing list