From: | artix |
Date: | 10 Sep 2000 at 09:13:24 |
Subject: | AMIOPEN: vpcc complaining... |
Can anyone tell me why vpcc could be having trouble with this:
struct xpr xadd(struct xpr s,struct xpr t, int f)
{
unsigned short pe[XDIM+1];
short e;
/* snip */
*pe=e;
return *(struct xpr *)pe;
}
The error I get is on the return statement and looks like this:
vpcc1 internal error:xadd.c: In function `xadd':
xadd.c:36: Elate call may not be properly defined: `memcpy'
vpcc1 internal error:xadd.c:36: Elate call may not be properly defined:
`memcpy'
vpcc1 internal error:xadd.c:36: Elate call may not be properly defined:
`memcpy'
vpcc: failed on xadd.c
Including string.h (which has memcpy proto in Intent) or not makes no
difference.
Thanks for any help :)
Pat
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html