[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Anybody compiled STL under Irix 6.5 with MIPSPro ?
From:       stephane () sgi ! com
Date:       1999-06-30 11:56:56
[Download RAW message or body]


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 <identifier "list" is undefined> 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<string>&) const;
                            ^

"keyvaluemap.h", line 156: error(1018): expected a ")"
    bool get(const string&, list<string>&) const;
                                ^

"keyvaluemap.h", line 157: warning(3322): omission of explicit type is
          nonstandard ("int" assumed)
    bool insert(const string&, const list<string>&, bool force=false);
                                     ^

"keyvaluemap.h", line 157: error(1018): expected a ")"
    bool insert(const string&, const list<string>&, bool force=false);
                                         ^

"keyvaluemap.h", line 160: error(1020): identifier "list" is undefined
    bool get(const string&, list<int>&) const;
                            ^

"keyvaluemap.h", line 160: error(1018): expected a ")"
    bool get(const string&, list<int>&) const;
                                ^

"keyvaluemap.h", line 160: error(1377): function
          "KeyValueMap::get(const string &, <error-type>) const" has already
          been declared
    bool get(const string&, list<int>&) const;
         ^

"keyvaluemap.h", line 161: warning(3322): omission of explicit type is
          nonstandard ("int" assumed)
    bool insert(const string&, const list<int>&, bool force=false);
                                     ^

"keyvaluemap.h", line 161: error(1018): expected a ")"
    bool insert(const string&, const list<int>&, 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<int>&, bool force=false);
         ^

"keyvaluemap.h", line 164: error(1020): identifier "list" is undefined
    bool get(const string&, list<double>&) const;
                            ^

"keyvaluemap.h", line 164: error(1018): expected a ")"
    bool get(const string&, list<double>&) const;
                                ^

"keyvaluemap.h", line 164: error(1377): function
          "KeyValueMap::get(const string &, <error-type>) const" has already
          been declared
    bool get(const string&, list<double>&) const;
         ^

"keyvaluemap.h", line 165: warning(3322): omission of explicit type is
          nonstandard ("int" assumed)
    bool insert(const string&, const list<double>&, bool force=false);
                                     ^

"keyvaluemap.h", line 165: error(1018): expected a ")"
    bool insert(const string&, const list<double>&, 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<double>&, 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<string, Section*, less<string> > StringSectionMap;
            ^

"sections.h", line 32: error(1065): expected a ";"
    typedef map<string, Section*, less<string> > 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<string>& key, KeyValueMap*& map);
                   ^

"configDB.h", line 40: error(1018): expected a ")"
    bool get(const list<string>& key, KeyValueMap*& map);
                       ^

"configDB.h", line 49: warning(3322): omission of explicit type is nonstandard
          ("int" assumed)
    bool get(const list<string>& key, Section*&);
                   ^

"configDB.h", line 49: error(1018): expected a ")"
    bool get(const list<string>& key, Section*&);
                       ^

"configDB.h", line 49: error(1377): function "ConfigDB::get(int)" has already
          been declared
    bool get(const list<string>& key, Section*&);
         ^

"configDB.h", line 53: warning(3322): omission of explicit type is nonstandard
          ("int" assumed)
    bool createSection(const list<string>& key);
                             ^

"configDB.h", line 53: error(1018): expected a ")"
    bool createSection(const list<string>& key);
                                 ^

"configDB.h", line 107: warning(3322): omission of explicit type is
          nonstandard ("int" assumed)
    static list<string> LockFiles;
           ^

"configDB.h", line 107: error(1065): expected a ";"
    static list<string> LockFiles;
               ^

"configDB.h", line 119: error(1077): this declaration has no storage class or
          type specifier
    list<string> stringToKeylist(const string&);
    ^

"configDB.h", line 119: error(1101): "list" has already been declared in the
          current scope
    list<string> stringToKeylist(const string&);
    ^

"configDB.h", line 119: error(1065): expected a ";"
    list<string> stringToKeylist(const string&);
        ^

"addressbook.h", line 75: error(1077): this declaration has no storage class
          or type specifier
      list<string> talk; // list of talk addresses
      ^

"addressbook.h", line 75: error(1065): expected a ";"
      list<string> talk; // list of talk addresses
          ^

"addressbook.h", line 76: error(1077): this declaration has no storage class
          or type specifier
      list<string> keywords; // list of form-free keywords
      ^

"addressbook.h", line 76: error(1101): "list" has already been declared in the
          current scope
      list<string> keywords; // list of form-free keywords
      ^

"addressbook.h", line 76: error(1065): expected a ";"
      list<string> keywords; // list of form-free keywords
          ^

"addressbook.h", line 90: error(1077): this declaration has no storage class
          or type specifier
      list<string> emails;
      ^

"addressbook.h", line 90: error(1101): "list" has already been declared in the
          current scope
      list<string> emails;
      ^

"addressbook.h", line 90: error(1065): expected a ";"
      list<string> emails;
          ^

"addressbook.h", line 126: warning(3322): omission of explicit type is
          nonstandard ("int" assumed)
    typedef map<string, string, less<string> > StringStringMap;
            ^

"addressbook.h", line 126: error(1065): expected a ";"
    typedef map<string, string, less<string> > 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<AddressBook::Entry>& entries);
                    ^

"addressbook.h", line 189: error(1018): expected a ")"
    bool getEntries(list<AddressBook::Entry>& entries);
                        ^

"kab.h", line 95: warning(3322): omission of explicit type is nonstandard
          ("int" assumed)
             const list<string>&,
                   ^

"kab.h", line 95: error(1018): expected a ")"
             const list<string>&,
                       ^

"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<AddressBook::Entry>& entries);
                         ^

"kabapi.h", line 133: error(1018): expected a ")"
    ErrorCode getEntries(list<AddressBook::Entry>& entries);
                             ^

"kabapi.h", line 183: error(1020): identifier "list" is undefined
                           list<AddressBook::Entry>& entries,
                           ^

"kabapi.h", line 183: error(1018): expected a ")"
                           list<AddressBook::Entry>& entries,
                               ^

"kabapi.h", line 196: error(1020): identifier "list" is undefined
                           list<AddressBook::Entry>& entries,
                           ^

"kabapi.h", line 196: error(1018): expected a ")"
                           list<AddressBook::Entry>& entries,
                               ^

"kabapi.cc", line 226: error(1020): identifier "list" is undefined
                                         list<AddressBook::Entry>&, const int)
                                         ^

"kabapi.cc", line 226: error(1018): expected a ")"
                                         list<AddressBook::Entry>&, const int)
                                             ^

"kabapi.cc", line 234: error(1020): identifier "list" is undefined
                                         list<AddressBook::Entry>&, const int)
                                         ^

"kabapi.cc", line 234: error(1018): expected a ")"
                                         list<AddressBook::Entry>&, const int)
                                             ^

"kabapi.cc", line 241: error(1020): identifier "list" is undefined
  KabAPI::ErrorCode KabAPI::getEntries(list<AddressBook::Entry>& entries)
                                       ^

"kabapi.cc", line 241: error(1018): expected a ")"
  KabAPI::ErrorCode KabAPI::getEntries(list<AddressBook::Entry>& 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic