you set CPLUS_INCLUDE_PATH=/usr/include, which excludes all other
standard include directories.

plus see the warning:

$ g++-4.3 -o hm hm.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from hm.cpp:1:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated.


** Changed in: gcc-4.3 (Ubuntu)
       Status: New => Invalid

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to