help-gplusplus
[Top][All Lists]
Advanced

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

STL under Red Hat E 4


From: vincenzo . bacarella
Subject: STL under Red Hat E 4
Date: 1 May 2006 22:57:26 -0700
User-agent: G2/0.2

Hi,

I had a Linux executable under Red Hat 7.3 (I compiled it without
problems with gcc) and now I am on another system (Red Hat Enterprise
4).


With gcc I obtain the error


../platform/hashmap.h:9: error: `::hash_map' has not been declared
../platform/hashmap.h:10: error: `::hash' has not been declared


and I have correctly the file  ../platform/hashmap.h :
---------------------------------------------------------------------------­----------



#ifndef HASHMAP_HPP_INCLUDED
#define HASHMAP_HPP_INCLUDED


#ifndef __GNUC__
# include <hash_map>
  using namespace stdext;
#else
# include <hash_map>
    using ::hash_map;
    using ::hash;
#endif


#endif


------------------------------------------


Somebody said me that in Red Hat Enterprise 4 there are some
differences in the library management. Anybody can help me? Thanks, I
am a newbie in Linux. 


Thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]