This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.1.1: hash_map don't work


I can reproduce it but it is not a bug, but a feature.
hashmap has moved to a different namespace: __gnu_cxx.

Thanks,
Andrew Pinski


On Monday, August 19, 2002, at 09:22 , Igor Markov wrote:


Greetings,

The following code gets compiled w/o problem by g++ 3.0.4,
but doesn't with g++ 3.1.1

#include <ext/hash_map>
using std::hash_map;
main() {}

/n/gagarin/z/imarkov/devel/ /usr/bin/g++-3.0 test.cxx
/n/gagarin/z/imarkov/devel/ /usr/bin/g++-3.1 test.cxx
test.cxx:4: `hash_map' not declared
/n/gagarin/z/imarkov/devel/ uname -a
Linux gagarin.eecs.umich.edu 2.4.18 #6 SMP Mon Jul 15 12:00:46 EDT 2002 i686 unknown
/n/gagarin/z/imarkov/devel/

Can anyone reproduce this?
If not, I should bother my sysadmin, who installed both 3.0 and 3.1.
Otherwise, is it a bug or a feature?
Should I expect 3.2 to behave the same way as 3.1 or as 3.0 ?

thanks,

Igor
-- Igor L. Markov (734) 936-7829 EECS 2211
http://www.eecs.umich.edu/~imarkov










Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]