From kde-devel Wed Jun 30 11:56:56 1999 From: stephane () sgi ! com Date: Wed, 30 Jun 1999 11:56:56 +0000 To: kde-devel Subject: Anybody compiled STL under Irix 6.5 with MIPSPro ? X-MARC-Message: https://marc.info/?l=kde-devel&m=93083293307950 Hi, The STL code does not compile on Irix 6.5.4 (MIPSPro C++). I know that SGI's implementation is the same as HP, but It does not like it at all. Did somebody succeeded in compiling it ? I saw in the mlist that there was some problems with gcc on Irix, but the problem seem to be different. Any hints ? The issue is about and I suspect that it's just a matter of syntax standard. Thanks & Cheers Stephane Making all in kab gmake[2]: Entering directory `/usr/people/srosa/sources/kdelibs-1.1.1/kab' /bin/ksh ../libtool --silent --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I.. -I../kdecore -I../kdeui -I../kfile -I../kfmlib -I/usr/people/srosa/sources/qt-1.43/include -I/usr/include/X11 -I/usr/local/include -I/usr/include -I/usr/include/CC -c kabapi.cc "configDB.h", line 18: warning(1155): unrecognized #pragma #pragma interface ^ "keyvaluemap.h", line 48: warning(1155): unrecognized #pragma #pragma interface ^ "keyvaluemap.h", line 156: error(1020): identifier "list" is undefined bool get(const string&, list&) const; ^ "keyvaluemap.h", line 156: error(1018): expected a ")" bool get(const string&, list&) const; ^ "keyvaluemap.h", line 157: warning(3322): omission of explicit type is nonstandard ("int" assumed) bool insert(const string&, const list&, bool force=false); ^ "keyvaluemap.h", line 157: error(1018): expected a ")" bool insert(const string&, const list&, bool force=false); ^ "keyvaluemap.h", line 160: error(1020): identifier "list" is undefined bool get(const string&, list&) const; ^ "keyvaluemap.h", line 160: error(1018): expected a ")" bool get(const string&, list&) const; ^ "keyvaluemap.h", line 160: error(1377): function "KeyValueMap::get(const string &, ) const" has already been declared bool get(const string&, list&) const; ^ "keyvaluemap.h", line 161: warning(3322): omission of explicit type is nonstandard ("int" assumed) bool insert(const string&, const list&, bool force=false); ^ "keyvaluemap.h", line 161: error(1018): expected a ")" bool insert(const string&, const list&, bool force=false); ^ "keyvaluemap.h", line 161: error(1377): function "KeyValueMap::insert(const string &, int)" has already been declared bool insert(const string&, const list&, bool force=false); ^ "keyvaluemap.h", line 164: error(1020): identifier "list" is undefined bool get(const string&, list&) const; ^ "keyvaluemap.h", line 164: error(1018): expected a ")" bool get(const string&, list&) const; ^ "keyvaluemap.h", line 164: error(1377): function "KeyValueMap::get(const string &, ) const" has already been declared bool get(const string&, list&) const; ^ "keyvaluemap.h", line 165: warning(3322): omission of explicit type is nonstandard ("int" assumed) bool insert(const string&, const list&, bool force=false); ^ "keyvaluemap.h", line 165: error(1018): expected a ")" bool insert(const string&, const list&, bool force=false); ^ "keyvaluemap.h", line 165: error(1377): function "KeyValueMap::insert(const string &, int)" has already been declared bool insert(const string&, const list&, bool force=false); ^ "sections.h", line 22: warning(1155): unrecognized #pragma #pragma interface ^ "sections.h", line 32: warning(3322): omission of explicit type is nonstandard ("int" assumed) typedef map > StringSectionMap; ^ "sections.h", line 32: error(1065): expected a ";" typedef map > StringSectionMap; ^ "sections.h", line 34: error(1020): identifier "StringSectionMap" is undefined StringSectionMap sections; ^ "sections.h", line 52: error(3168): name followed by "::" must be a class or namespace name bool find(const string&, StringSectionMap::iterator&); ^ "sections.h", line 72: error(3168): name followed by "::" must be a class or namespace name StringSectionMap::iterator sectionsBegin(); ^ "sections.h", line 74: error(3168): name followed by "::" must be a class or namespace name StringSectionMap::iterator sectionsEnd(); ^ "configDB.h", line 40: warning(3322): omission of explicit type is nonstandard ("int" assumed) bool get(const list& key, KeyValueMap*& map); ^ "configDB.h", line 40: error(1018): expected a ")" bool get(const list& key, KeyValueMap*& map); ^ "configDB.h", line 49: warning(3322): omission of explicit type is nonstandard ("int" assumed) bool get(const list& key, Section*&); ^ "configDB.h", line 49: error(1018): expected a ")" bool get(const list& key, Section*&); ^ "configDB.h", line 49: error(1377): function "ConfigDB::get(int)" has already been declared bool get(const list& key, Section*&); ^ "configDB.h", line 53: warning(3322): omission of explicit type is nonstandard ("int" assumed) bool createSection(const list& key); ^ "configDB.h", line 53: error(1018): expected a ")" bool createSection(const list& key); ^ "configDB.h", line 107: warning(3322): omission of explicit type is nonstandard ("int" assumed) static list LockFiles; ^ "configDB.h", line 107: error(1065): expected a ";" static list LockFiles; ^ "configDB.h", line 119: error(1077): this declaration has no storage class or type specifier list stringToKeylist(const string&); ^ "configDB.h", line 119: error(1101): "list" has already been declared in the current scope list stringToKeylist(const string&); ^ "configDB.h", line 119: error(1065): expected a ";" list stringToKeylist(const string&); ^ "addressbook.h", line 75: error(1077): this declaration has no storage class or type specifier list talk; // list of talk addresses ^ "addressbook.h", line 75: error(1065): expected a ";" list talk; // list of talk addresses ^ "addressbook.h", line 76: error(1077): this declaration has no storage class or type specifier list keywords; // list of form-free keywords ^ "addressbook.h", line 76: error(1101): "list" has already been declared in the current scope list keywords; // list of form-free keywords ^ "addressbook.h", line 76: error(1065): expected a ";" list keywords; // list of form-free keywords ^ "addressbook.h", line 90: error(1077): this declaration has no storage class or type specifier list emails; ^ "addressbook.h", line 90: error(1101): "list" has already been declared in the current scope list emails; ^ "addressbook.h", line 90: error(1065): expected a ";" list emails; ^ "addressbook.h", line 126: warning(3322): omission of explicit type is nonstandard ("int" assumed) typedef map > StringStringMap; ^ "addressbook.h", line 126: error(1065): expected a ";" typedef map > StringStringMap; ^ "addressbook.h", line 127: error(1070): incomplete type is not allowed StringStringMap entries; ^ "addressbook.h", line 128: error(1070): incomplete type is not allowed StringStringMap::iterator current; ^ "addressbook.h", line 189: error(1079): expected a type specifier bool getEntries(list& entries); ^ "addressbook.h", line 189: error(1018): expected a ")" bool getEntries(list& entries); ^ "kab.h", line 95: warning(3322): omission of explicit type is nonstandard ("int" assumed) const list&, ^ "kab.h", line 95: error(1018): expected a ")" const list&, ^ "kab.h", line 98: warning(1012): parsing restarts here after previous syntax error const string& footerRight); ^ "kabapi.h", line 133: error(1020): identifier "list" is undefined ErrorCode getEntries(list& entries); ^ "kabapi.h", line 133: error(1018): expected a ")" ErrorCode getEntries(list& entries); ^ "kabapi.h", line 183: error(1020): identifier "list" is undefined list& entries, ^ "kabapi.h", line 183: error(1018): expected a ")" list& entries, ^ "kabapi.h", line 196: error(1020): identifier "list" is undefined list& entries, ^ "kabapi.h", line 196: error(1018): expected a ")" list& entries, ^ "kabapi.cc", line 226: error(1020): identifier "list" is undefined list&, const int) ^ "kabapi.cc", line 226: error(1018): expected a ")" list&, const int) ^ "kabapi.cc", line 234: error(1020): identifier "list" is undefined list&, const int) ^ "kabapi.cc", line 234: error(1018): expected a ")" list&, const int) ^ "kabapi.cc", line 241: error(1020): identifier "list" is undefined KabAPI::ErrorCode KabAPI::getEntries(list& entries) ^ "kabapi.cc", line 241: error(1018): expected a ")" KabAPI::ErrorCode KabAPI::getEntries(list& entries) ^ "kabapi.cc", line 244: error(1020): identifier "entries" is undefined REQUIRE(entries.empty()); ^ -- SILICON GRAPHICS EUROPEAN MANUFACTURING CENTER ############################################################## Stephane Rosa Tel : +41 (0)32 843-3638 Business Analyst Fax : +41 (0)32 843-3909 APS/FP Project GSM : +41 (0)79 448-5335 -------------------------------------------------------------- irc.stealth.net Euro-IRCNet IRC : Clipper on #geneva ircnoc.neu.sgi.com SGI Intranet IRC : EuroBA on #APS