TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Paul Edwards
date: 1996-05-20 18:12:54
subject: indirection

FA> Actually it does not compile with ANSI on, but i can't see for the life
FA> of me why, any ideas ?

FA> #include 
FA> #include  /* everyone should have this by now */

What do you mean everyone should have it?

FA> #define P_ADD(ptr1,ptr2) \
FA>   (MK_FP ( FP_SEG(ptr1) , FP_OFF((unsigned)ptr1 + (unsigned)ptr2)))
                                     ^^^^^^^^^^^^^^

Probably this is the problem, converting a pointer to an integer.
BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.