Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!uwm.edu!wuarchive!swbatl!ammrk From: ammrk@swbatl.sbc.com (Mike R. Kraml) Newsgroups: comp.sys.amiga Subject: Re: Trouble with Lattice 5 Message-ID: <1279@swbatl.sbc.com> Date: 27 Mar 90 22:12:36 GMT References: <15028@snow-white.udel.EDU> Reply-To: ammrk@swbatl.UUCP (Mike R. Kraml) Organization: Southwestern Bell Tele. Co. - Advanced Technology Lab - St. Louis Lines: 35 In article <15028@snow-white.udel.EDU> 345EEQX%CMUVM.BITNET@cornellc.cit.cornell.edu (Robert Devantier) writes: >Greetings! > I have been having problems with Lattice C, and was wondering if >someone can help me out. The problem is with 5.04, brought up from >5.00 with a Supplemental Disk Version 5.02 patch disk and a 5.04 >patch disk dated 9/12/89. When I compile the following program - > >#include >main() > { printf("Hello.\n"); } > >I get the following results, compiling with: lc test.c > >Compiling test.c > UBYTE ln_Type; >exec/nodes.h 7 Error 35: closing brace expected > UBYTE lh_Type; > >Does anyone else get this same result? If not, any ideas? I have I am not at home and have not tried this, however, I would be willing to bet that exec.h needs to be preceeded by some other header, perhaps types.h or something that defines things such as UBYTE, etc. Remember, the compiler doesn't understand types such as UBYTE, all its knows are things like int, char, long, doulble, float, (and any other standard C types I may have forgotten). That should give you a place to start, good luck, Mike... > >Robert Devantier | 345EEQX@CMUVM.Bitnet | Student Programmer -- ============================================================================= Mike Kraml - Manager-Separations MECHANIZATION - SWBT - (The Techies) UUCP: {uunet, bellcore, texbell}...!swbatl!slims!ammrk =============================================================================