[EMAIL PROTECTED] writes:

> With gcc I obtain the error

As you should: RH-7.3 used g++-2.95 (IIRC), RHEL-4 uses g++ 3.x
which is much more standards compliant.

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

Your code is broken WRT both gcc-2.95 (which defined std::hash_map,
not ::hash_map), and gcc-3.x (which defines __gcc_cxx::hash_map).

See pg. 13 of this document:
http://lhcb-comp.web.cern.ch/lhcb-comp/support/gcc32.pdf

> Somebody said me that in Red Hat Enterprise 4 there are some
> differences in the library management.

There are, but they have nothing to do with your problem.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to