Article View: comp.sys.amiga.tech
Article #13156Problems with Lattice include files
From: the Wizard of Speed and Time
Date: Tue, 19 Dec 1989 01:43
Date: Tue, 19 Dec 1989 01:43
27 lines
1607 bytes
1607 bytes
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 <stdlib.h> /* we want to use the string builtins, so */ #include <string.h> /* and we are using the standard I/O */ #include <stdio.h> 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
Technical Details
Message-ID:
<1989Dec19.014314.22052@athena.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!mintaka!bloom-beacon!athena.mit.edu!rlcarrShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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