Public bug reported: Binary package hint: g++-4.3
I'm not enough of a c++ guy to fully understand what's going on here, but the fact that the behavior changes is strange: g++ (Ubuntu 4.3.2-1ubuntu11) 4.3.2 CPLUS_INCLUDE_PATH=/usr/include/ g++-4.3 -o hm hm.cpp <- fails g++-4.2 (GCC) 4.2.4 (Ubuntu 4.2.4-3ubuntu4) CPLUS_INCLUDE_PATH=/usr/include/ g++-4.2 -o hm hm.cpp <- ok! hm.cpp: #include <ext/hash_map> int main () { __gnu_cxx::hash_map<int, int> t; return 0; } ** Affects: gcc-4.3 (Ubuntu) Importance: Undecided Status: New ** Summary changed: - CPLUS_INCLUDE_PATH behaves different from g++ 4.2 to 4.3 + CPLUS_INCLUDE_PATH behaves differently with g++ 4.2 and g++ 4.3 -- CPLUS_INCLUDE_PATH behaves differently with g++ 4.2 and g++ 4.3 https://bugs.launchpad.net/bugs/298774 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs