I've been trying to compile some open source C++ software (it converts HTML to Text). I've made quite a bit of progress, but have run into a problem with the C++ compiler. The compiler I'm using is: Compaq C++ V5.6-023 on OpenVMS VAX V7.3 (which is equivalent to the version that is sometimes referred to as V5.6C). I am getting the following error:
Internal compiler error detected at line 7298 in file CSRC:[CXXFE]CXSYMTAB.C;1.
%VCG-F-BUGCHECK, Compiler bug check during front end phase .
Submit an SPR with a problem description.
Listing line number 17966.
At line number 1648 in SYS$KITS:[FREEWARE.HTML2TEXT]FORMAT.CXX;8.
Line 1648 in FORMAT.CXX is the end of the file. Has anyone encountered this and can suggest a solution (or way to avoid the problem)? Or even point me in a direction to get the information I need to get past this problem.
I've actually been able to get this to a known issue with the C++ compiler. I have a derived class, where the parent class has a virtual function, which is also declared in the in the derived class, except not as virtual. No matter how I declare this, I get the bugcheck (or a compiler error, indicating the parent class function needs to be declared as virtual). I don't think Digital would have ever allowed a product to ship with a known bugcheck (at least I would have never let it happen when I worked there). Now, I need to figure out to implement derived classes without using virtual. Suggestions.