From kdevelop-devel Thu Aug 15 09:04:15 2002 From: Andreas Sturm Date: Thu, 15 Aug 2002 09:04:15 +0000 To: kdevelop-devel Subject: kdevelop on IRIX X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=102940225510364 Hi Falk! As i prommissed here are the changes to kdevelop to get it running under = IRIX.=20 I used a cvs of around 8th august. I send it to you just to get comments=20 about what i did to the sources (whether there are formal correct or a=20 absolut mess). I am going to make patches with a newer cvs in the next 1 = 1/2=20 week (after that i am going into holliday :-)). I did finish a build alre= ady=20 but stupidly used no debug flags as compiler flags. It keeps on segfaulti= ng=20 right after the first short glance of the splashscreen. :-( So i would suggest the following: 1. give comments about the changes i made; whether they are safe or not. = Keep=20 in mind that i do have to workaround a namespace bug in the current MIPSp= ro=20 compiler 2. i re-integrate any things which have to be changed 3. do a full debug build to provide more info's (partly finished; did ar= ts,=20 kdelibs and kdebase already) Is that ok? I appreciate any help of you since i _really_ want kdevelop=20 running on IRIX. Thanks a lot for your help! Andy Flags: CFLAGS=3D-g2 -mips4 -OPT:Olimit=3D0=20 -woff1021,1209,1233,1314,1355,1375,1506,1681,1682,3496 -n32=20 -LANG:std:ansi-for-init-scope=3DON CXXFLAGS=3D-g2 -mips4 -OPT:Olimit=3D0=20 -woff1021,1209,1233,1314,1355,1375,1506,1681,1682,3496 -n32=20 -LANG:std:ansi-for-init-scope=3DON LDFLAGS=3D-n32 changes: lib/interfaces/kdevpartcontroller.cpp: 13, added 'using namespace KParts' lib/antlr/src/CharScanner.cpp: changed cctype, cstring to ctype.h, string= =2Eh lib/antlr/src/String.cpp: changed cstdio to stdio.h lib/antlr/src: added -lCio to the last linkline parts/classview/digraphview.cpp: 291, changed line to double l =3D=20 sqrt((double)(d.x()*d.x()+d.y()*d.y())); parts/cppsupport/dbg.h: 17, removed 'using namespace std' parts/cppsupport/cppccparser.cpp: cc-1132 CC: ERROR File =3D cppccparser.cpp, Line =3D 32 The class "ifstream" has no member "is_open". if( f.is_open ) { I looked into the fstream.h; no is_open defined; i did look into fstream = also=20 and there is is_open defined. I changed fstream.h to fstream and i had to prefix ifstream with std:: th= en i=20 get the following: cc-1274 CC: ERROR File =3D cppccparser.cpp, Line =3D 32 A pointer to a bound function can only be used to call the function. if( f.is_open ) { and cc-1408 CC: ERROR File =3D cppccparser.cpp, Line =3D 35 A reference of type "istream &" (not const-qualified) cannot be initial= ized with a value of type "std::ifstream". parseObject( f ); parts/cppsupport/cppccparser.cpp: 32,85, changed if ( f.is_open( ) ) to i= f ( f=20 ) parts/cvs/logform.ui.h: removed using namespace std; parts/astyle/ASBeautifier.cpp: 32, changed cctype to ctype.h parts/astyle/ASFormatter.cpp, 33, changed cctype to ctype.h parts/astyle/astyle_adaptor.cpp: 11, added astyle:: to ASSourceIterator(= ),=20 _content(text) parts/qeditor/background_parser.cpp: 33, removed 'using namespace std' parts/qeditor/cindent.cpp: 36, removed 'using namespace std' parts/qeditor/cpp_colorizer.cpp: 54, removed 'using namespace std' parts/qeditor/cpp_parser.cpp: 28, removed 'using namespace std' parts/qeditor/cs_colorizer.cpp: removed 'using namespace std' parts/qeditor/levelwidget.cpp: removed 'using namespace std' parts/qeditor/markerwidget.cpp: removed 'using namespace std' parts/qeditor/qeditor_arghint.cpp: removed 'using namespace std' parts/qeditor/qeditor_part.cpp: removed 'using namespace std' parts/qeditor/qeditor_part: 48, added 'using namespace KTextEditor' parts/qeditor/qeditor_part: 50, added 'using namespace KParts' parts/qeditor/qeditor_part:201, 221, added QEditorPart:: to=20 ReadWritePart::setReadWrite(rw), ReadWritePart::setModified(modified) parts/qeditor/qeditor.cpp: 473, moved return in void function to line 474 parts/qeditor/qeditor.cpp: removed 'using namespace std' parts/qeditor/qeditor_part.cpp: removed many #warning (causes an error on= =20 MIPSpro) parts/qeditor/qeditor_view.cpp: removed #warning parts/qeditor/highlightingconfigpage.ui.h: removed 'using namespace std' parts/qeditor/qeditor_view.moc.cpp: 148, 223, 238, 246, added KTextEditor= :: parts/qeditor/qeditor_factory.moc.cpp: 71, 76, 81, 87, changed Factory:: = to=20 QEditorPartFactory:: src/toplevel_sdi.cpp: 276, added 'using namespace KParts' _______________________________________________ Kdevelop-devel mailing list Kdevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel