Can someone tell me if the following program produces the same
error if compiled with CSET++/2 2.1? Thanks + bye. Paul.
/*
Mystery - why does this code produce the following message
when compiled with CSET++/2 2.0 with the command "icc zatest.c":
zatest.obj(ZATEST.C) : warning L4008: aliased fix-up to non-alias
object near 22 in object CODE32
zatest.obj(ZATEST.C) : warning L4008: aliased fix-up to non-alias
object near 2 in object SEG16T_FUNC1
If you know why this happens, and how this warning can be avoided,
please contact Paul Edwards at 3:711/934.
The explanation given in the IBM Toolkit help is:
L4008 aliased fix-up to non-alias object near location in object name
Explanation: LINK386 encountered an aliased fix-up to a non-alias
object at the specified location.
Action: The error might have been caused by the way the program
was written or when it was compiled or assembled.
*/
#include
void _Far16 _Pascal func1(void);
int main(void)
{
printf("hi\n");
func1();
return (0);
}
void _Far16 _Pascal func1(void)
{
printf("there\n");
return;
}
@EOT:
--- Mksmsg
* Origin: none (3:711/934.9)
|