From kde-core-devel Sun Aug 11 21:09:20 2002 From: Waldo Bastian Date: Sun, 11 Aug 2002 21:09:20 +0000 To: kde-core-devel Subject: Re: Success: kde 3.1 cvs running on sgi IRIX! X-MARC-Message: https://marc.info/?l=kde-core-devel&m=102910033006319 On Sunday 11 August 2002 02:32 am, Dominique Devriese wrote: > > kstyles/keramik/genembed.cpp: changed cmath to math.h and cstring to > > string.h > > hm... seems like a bug in your STL... I guess SGI simply doesn't support "c" style header files yet. I see = no=20 reason to use them. (Fixed) Can someone clean up knuminput.cpp? > > kscreensaver/kdesavers/gravity.cpp: had to add a few float casts to use > > pow cc-1282 CC: ERROR File =3D gravity.cpp, Line =3D 347 > > More than one instance of overloaded function "pow" matches the > > argument list. > > > > Function symbol function "pow(double, double)" is ambiguous > > by inheritance. > > Function symbol function "pow(float, float)" is ambiguous by > > inheritance. > > Function symbol function "pow(float, int)" is ambiguous by > > inheritance. > > The argument types are: (float, double). > > > > particle[loop].z=3D(particle[loop].zo*sin(particle[loop].index))* > > pow(particle[loop].index/particle[loop].indexo,8.0); > > Does this mean pow on IRIX is declared pow( float, double ) ?? > weird... I think the arguments are (float, double) and it can't decide whether to us= e=20 pow(float, float) or pow(double, double). Casting the arguments to double first should help. > > kget/kmainwidget.cpp: cc-1020 CC: ERROR File =3D kmainwidget.cpp, Line = =3D > > 2150 The identifier "AF_IPX" is undefined. > > > > ipx_sock =3D socket(AF_IPX, SOCK_DGRAM, 0); > > > > don't know what that is; commented it out > > (any ideas?) > > hm.. shouldn't that be PF_IPX ? > > > kpf/src/ActiveMonitorItem.cpp:65, fixed return in void function > > s/fixed/worked around/ ;) since it _is_ valid c++ ... > > > krfb/srvloc/kinetaddr.cpp: added #include for bzero > > hm.. shouldn't that be string.h ? No strings.h is needed for bzero. Solution: don't use bzero but use the more portable memset instead. (Done)= =20 Better solution: Remove this class and use the one from kdecore? (Tim?) > > krfb/libvncserver: cc-1020 cc: ERROR File =3D main.c, Line =3D 404 > > The identifier "source" is undefined. > > > > source: "\000\102\044\030\044\102\000", > > ^ > > > > cc-1067 cc: ERROR File =3D main.c, Line =3D 404 > > A right brace is expected. > > > > source: "\000\102\044\030\044\102\000", > > ^ > > stopped working here (it's gotten a way to > > late now.....) > > i think you can just remove all the labels like "source:" there > (provided they are in the right order...) ( although i think it's way > more readable like it is now, and it seems valid to me too... ) There is a "#if defined(WIN32) || defined(sparc) || defined(_AIX)" on line= =20 394. Does it help if you add SGI there? Cheers, Waldo =2D-=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com