Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site baylor.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!ut-sally!ut-ngp!shell!neuro1!baylor!peter From: peter@baylor.UUCP (Peter da Silva) Newsgroups: net.micro.pc Subject: Re: Warning regarding LATTICE Compiler Message-ID: <492@baylor.UUCP> Date: Wed, 21-Aug-85 10:08:10 EDT Article-I.D.: baylor.492 Posted: Wed Aug 21 10:08:10 1985 Date-Received: Sun, 25-Aug-85 02:40:28 EDT References: <421@timeinc.UUCP> Organization: The Power Elite, Houston, TX Lines: 18 > #define macro (char *)((long)ptr1 - (long)ptr2) > > function ((long)macro); Yeh. I don't think that (long)(char *)(...) is going to be terribly portable in the first place. Just looking at it makes me shudder. > Maybe a new heading: How has Lattice bitten you? When I try to use intdos(...) to call search_first and search_next in _main (trying to do command line expansion of wildcards), it breaks stdio. I tried it from assembly, through intdos, and even through CTOOLS. I don't know why it breaks stdio, but it does. Maybe someone who has succeeded in doing this can help. -- Peter (Made in Australia) da Silva UUCP: ...!shell!neuro1!{hyd-ptd,baylor,datafac}!peter MCI: PDASILVA; CIS: 70216,1076