Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site amiga.amiga.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!pyramid!amiga!bruceb From: bruceb@amiga.UUCP (Bruce Barrett) Newsgroups: net.micro.amiga Subject: Re: Problem with Lattice C Compiler Message-ID: <754@amiga.amiga.UUCP> Date: Wed, 26-Feb-86 13:21:57 EST Article-I.D.: amiga.754 Posted: Wed Feb 26 13:21:57 1986 Date-Received: Fri, 28-Feb-86 22:03:10 EST References: <471@tekigm2.UUCP> Reply-To: bruceb@amiga.UUCP (Bruce Barrett) Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030 Lines: 39 In article <471@tekigm2.UUCP> normc@tekigm2.UUCP (Norm Church) writes: > > > I am having problems with the Lattice C compiler ... >the following errors on my Amiga. This same problem >occurs in version 3.03 and 3.02 of the compiler. : >Norm Church Norm, This is one of the nicest bug reports I've received. Very spacific, very complete. Thank you. ((but I can't reproduce the problem)) >--------------------------------------------------- >Errors listed in both versions 3.02 & 3.03: > >Lattice AMIGA 68000 C Compiler (Phase 1) V3.02 >Copyright (C) 1984 Lattice, Inc.) >ram:strncpy.c 32 Error 17: too many operands >ram:strncpy.c 32 Error 57: semi-colon expected I downloaded this file, removed everything upto and past the "------------"s, removes the "<--- error here" comments end compiled it with my V3.03 Lattice. (Native, on the amiga.) This is the output I got: Lattice AMIGA 68000 C Compiler (Phase 1) V3.03 Copyright (C) 1984 Lattice, Inc. Lattice AMIGA 68000 C Compiler (Phase 2) V3.03 Copyright (C) 1984 Lattice, Inc. copy 5 characters ans= The f copy 10 characters ans= The first No problem here. My CLI stack size is 4000 bytes, I'm running V1.1 kickstart and C-CLI. The sizes of my compiler passes are: LC1=108528 LC2=113228. I'm using a slightly modified version of Makesimple. Did you get your 3.03 from Lattice of Commodore? --Bruce Barrett