Christian Christmann <[EMAIL PROTECTED]> writes:

> compiling my source files with gcc 2.95.3 works fine.
> When I switch to gcc 3.3.2 and try to compile the same
> files I get some error messages.

The gcc-3.x series is much more strict in its standard conformance.

  > #include <map>
  > #include <string>

Add:

   using namespace std; 

   > class HashTable
   > {
   >     map<int, void*> nhash;  //line 49

Alternatively, use

         std::map<int, void*> nhash;

This second solution is currently "preferred" (say what you mean),
even though it requires more typing.

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

Reply via email to