Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!sunybcs!boulder!hao!oddjob!gargoyle!ihnp4!homxb!mtuxo!mtune!westmark!dave From: dave@westmark.UUCP (Dave Levenson) Newsgroups: comp.lang.c Subject: Re: C and Intel 386 Message-ID: <205@westmark.UUCP> Date: Sun, 11-Oct-87 09:07:47 EDT Article-I.D.: westmark.205 Posted: Sun Oct 11 09:07:47 1987 Date-Received: Mon, 12-Oct-87 22:22:27 EDT References: <9724@brl-adm.ARPA> Organization: Westmark, Inc., Warren, NJ, USA Lines: 16 In article <9724@brl-adm.ARPA>, PLei.ES@Xerox.COM writes: > > We are currently working with the Intel C386 Compiler. Has anyone using > this compiler ever tried passing a far procedure as a parameter to > another routine? A far procedure is defined as one that resides in a > different segment. > Sorry, I'm not using the Intel compiler, but other 80xx6 compilers seem to handle this correctly only if the called function declares the formal parameter as a pointer to far function. (Note that this declaration is easy to confuse with a far pointer to function.) -- Dave Levenson Westmark, Inc. A node for news. Warren, NJ USA {rutgers | clyde | mtune | ihnp4}!westmark!dave