Re: [gtkmm] compilation errors under IRIX with MIPSpro compiler



Giannis Georgalis <jgeorgal uoc gr> writes:

>> in directory "glib/glibmm" :
>> 
>>  /usr/bin/CC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\"
>> -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
>> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib
>> -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk
>> -I../../gdk -I../../gdk -I../../gtk -I../../gtk
>> -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include
>> -LANG:std -lCio -c convert.cc -Wp,-MDupdate,.deps/convert.TPlo  -DPIC
-o
>> .libs/convert.o
>> cc-1005 CC: ERROR File = ../../glib/glibmm/unicode.h, Line = 32
>>   The source file "cctype" is unavailable.
>> 
>>   #include <cctype>
>>                    ^
>
> Try including <ctype.h>. Just in case, include it like this:
> extern "C" {
> #include <ctype.h>
> }

I tried, but now I have the folowing errors:

------
cc-1232 CC: ERROR File = ../../glib/glibmm/ustring.h, Line = 234
  The indicated constant value is not known.

    static const size_type npos = std::string::npos;
                                  ^

cc-3318 CC: ERROR File = ../../glib/glibmm/ustring.h, Line = 547
  A partial specialization of a member class template must be declared
in the
          class of which it is a member.

  struct ustring::SequenceToString<In,char> : public std::string
                  ^

cc-3318 CC: ERROR File = ../../glib/glibmm/ustring.h, Line = 553
  A partial specialization of a member class template must be declared
in the
          class of which it is a member.

  struct ustring::SequenceToString<In,gunichar> : public std::string
                  ^

cc-1479 CC: ERROR File = ../../glib/glibmm/ustring.h, Line = 705
  The template argument list must match the parameter list.

  ustring::SequenceToString<In,char>::SequenceToString(In pbegin, In
pend)
  ^

cc-1479 CC: ERROR File = ../../glib/glibmm/ustring.h, Line = 711
  The template argument list must match the parameter list.

  ustring::SequenceToString<In,gunichar>::SequenceToString(In pbegin, In
pend)
  ^

5 errors detected in the compilation of "convert.cc".
-----

Could you help me?
Thanks,
Stephane.







_____________________________________________________________________
MSN Messenger, nouvelle version ! Personnalisez vos messages, jouez en
ligne et communiquez en temps réel par vidéo! http://ifrance.com/_reloc/m




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]