[comp.lang.c++] Bug in Zortech's C++ Compiler ?

syvanen@tukki.jyu.fi (Jari Syvanen) (09/27/90)

I have some difficulties with Zortech C++ compiler v. 2.1 .
The type definition for one kind ( example below) caused total
crasch of Compiler. Have I defined something very wrong and
why does the Compiler crasch ? I have worked with Zortech's Compiler
only for a one week yet, but I will use it in the future very much.
So it would be nice, if somebody could tell me what is wrong in my
definition, or is it bug in compiler?
Here is the type definition that caused total
crasch of the Compiler:

typedef int (far cdecl FC)();

or

typedef int (*far cdecl FC)();

What's wrong?

The reason why I need that kind of type definition is that I must
cast the function which is type (far pascal) and it's returning int to
the type of (far cdecl) returning int. That's because I try to make
old dos application work as Windows 3.0 DLL.







--
*----------------------------------------------------------------------------*
   Jari  Syvanen          Student in University of Jyvaskyla, Finland
   Mail: syvanen@jyu.fi  syvanen@tukki.jyu.fi 
 
*----------------------------------------------------------------------------*