Fatal Compiler Error Using Borland C++ 5


RBB
11-11-2007, 07:51 AM
When trying to compile "hash.h" with Borland C++ Version 5, I get the following compiler error:

C++ Fatal Error] hash.h(138): F1004 Internal compiler error at 0x12548c1 with base 0x1200000

The error is directed at this section of "hahs.h" ->
===========
template<class keyT, class elT, class hfnT>
struct Hash : Hashtable<keyT, hfnT> {
using Hashtable<keyT,hfnT>::iget;
using Hashtable<keyT,hfnT>::iset;
using Hashtable<keyT,hfnT>::ierase;
vector<elT> els;
.
.
.
============

Is there a work around or solution to this problem.

Thank you for the help,

RBB

davekw7x
01-11-2008, 06:41 PM
When trying to compile "hash.h" with Borland C++ Version 5

What version compiler?

Older versions (5.5.1 for example) won't work for me with lots of template stuff. (Some other stuff too.)

A more recent version (5.82) compiles OK. (But I haven't tested very much with Borland---I use mostly Linux, but I occasionally use GNU gcc/cygwin on my Windows platforms).

Check for the free download of latest Borland "turbo explorer" from here:
http://www.turboexplorer.com/downloads. I have used the command line bcc32.exe from this distribution for several nr3 programs.


Dave