Re: unknown error 4076
Posted in 1999
On Mon, 15 Feb 1999, Garnadi wrote:
> I have an mysterious message. Every time I compile and link program there
> will be unknown error message 4076. But fortunately, the executable file can
> work well. Any boady knows why the message is still there ?
Error -4076 is:
-4076 Class of CAST object must be a base of class specified
as right argument.
You cannot cast an object to any class; you can only cast it as being
of a class that is derived from its stated class. In the CAST
expression in this statement, the stated class of the object reference
on the left is not a base class of the class that is named as the right
argument. Review the expression to make sure that you have specified
the object that you intended (possibly you need to use parentheses
around the object reference) and the target class.
If you're getting this error message, you must be using NewEra. Alternatively,
you could be using I4GL and seeing a report that message +4076 is not found; it
should read:
4076: Compiling C source:
Since you gave no more details, the answer cannot be more detailed.
Yours,
Jonathan Leffler (jleffler@informix.com) #include <wish/I/was/skiing.h>
Guardian of DBD::Informix v0.60 (v0.61_02) -- http://www.perl.com/CPAN
Informix IDN for D4GL & Linux -- http://www.informix.com/idn