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

Re: C++: no hash_map while it is there?



On Fri, Nov 16, 2001 at 03:59:04PM +0200, Shaul Karl wrote:
...
| [15:50:23 tmp]$ g++-3.0 -Wall -ggdb -o main main.cc
| main.cc:1:20: hash_map: No such file or directory
...

| Is this reproducible by others? The distro is testing.

Yes.  It looks to me to be a packaging bug :

$ g++-3.0 foo.c++ 
foo.c++:2:20: hash_map: No such file or directory

$ g++-3.0 -I /usr/include/g++-v3/ext foo.c++ 

$


I think the directory needs to be added to the default include path.

$ dpkg -l libstdc++3-dev
ii  libstdc++3-dev 3.0.2-0pre0109

$ dpkg -S hash_map
libstdc++2.10-dev: /usr/include/g++-3/stl_hash_map.h
libstdc++2.10-dev: /usr/include/g++-3/hash_map
libstdc++2.10-dev: /usr/include/g++-3/hash_map.h
libstdc++3-dev: /usr/include/g++-v3/backward/hash_map.h
libstdc++3-dev: /usr/include/g++-v3/ext/hash_map


(I can probably remove the 2.10 -dev package)


There's a new version of the v3 -dev package in sid, it might be fixed
already.

-D



Reply to: