Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!mintaka!bloom-beacon!athena.mit.edu!rlcarr From: rlcarr@athena.mit.edu (the Wizard of Speed and Time) Newsgroups: comp.sys.amiga.tech Subject: Problems with Lattice include files Message-ID: <1989Dec19.014314.22052@athena.mit.edu> Date: 19 Dec 89 01:43:14 GMT Sender: news@athena.mit.edu (News system) Reply-To: rlcarr@space.mit.edu (the Wizard of Speed and Time) Organization: the Fire Raymond Berry Club Lines: 27 I have lattice C 5.04 and am having a problem with include files. I am writing a program that uses string stuff and standard I/O. Plus, I want to be able to use the registerized parameters. The first few lines are: /* get standard delarations so registerized stuff'll work */ #include /* we want to use the string builtins, so */ #include /* and we are using the standard I/O */ #include When I compile, I get loads of ERROR 72's, which is redeclaring something declared elsewhere. What is happening is that the decs in string.h are redefining those in stdlib.h. What gives? I need the stdlib.h prototypes to use the registerized calling scheme, and I need string.h for the builtins. Is this a bug? How do I resolve it? -- Rich Carreiro - Most Biased Boston Celtics Fan! "So long, farewell, and may ARPA: rlcarr@space.mit.edu the forces of evil become UUCP: ...!mit-eddie!space.mit.edu!rlcarr confused on the way to your BITNET: rlcarr@space.mit.edu door!" - George Carlin