Path: utzoo!attcan!uunet!pdn!boake2!jc3b21!fgd3 From: fgd3@jc3b21.UUCP (Fabbian G. Dufoe) Newsgroups: comp.sys.amiga Subject: Re: Lattice C 5.0 Message-ID: <530@jc3b21.UUCP> Date: 18 Dec 88 03:22:04 GMT References: <1427@cpoint.UUCP> Organization: St. Petersburg Jr. College, FL Lines: 20 From article <1427@cpoint.UUCP>, by jeff@cpoint.UUCP (Jeffrey J. Griglack): > Comments about Lattice C 5.0 and error generated by function prototype > mismatch deleted. I don't know about the ANSI standard but the way Lattice 4.02 worked (and I think version 5.0 works the same way) you get an error if you've specified a prototype for a function and then not complied with it. But if you don't use the prototyping feature you won't get the errors. The main difference I've noticed is 5.0 has a lot more prototypes built for functions supplied by Lattice. In particular, I ran afoul of their definition of main() as a void in stdlib.h. I'm used to declaring main() an int so I can return an error code. --Fabbian Dufoe 350 Ling-A-Mor Terrace South St. Petersburg, Florida 33705 813-823-2350 UUCP: ...codas!usfvax2!jc3b21!fgd3 ...uunet!pdn!jc3b21!fgd3