Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!astroatc!nicmad!madnix!jmelv From: jmelv@madnix.UUCP (John Melvin) Newsgroups: comp.sys.amiga.tech Subject: Re: Excruciatingly simple programming question... Summary: Manx 3.6 doesn't have prototypes Message-ID: <1463@madnix.UUCP> Date: 7 Aug 90 23:41:10 GMT References: <2667@mindlink.UUCP> <115524@linus.mitre.org> Organization: MADNIX, operated by: ARP Software Madison WI Lines: 25 In article <115524@linus.mitre.org>, duncant@mbunix.mitre.org (Thomson) writes: > Oops, I just realized that in my last posting on this subject, I > forgot that |Read() and Write() are not stdio functions, but amiga > functions. But the same argument follows if the file which > contained prototypes for Read() and Write() had been included. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I didn't catch you first post, but I'll assume you are playing with version 3.6. This version defaults to 16-bit ints (a very common source of problems) and doesn't have prototyping. Aztec C 5.0x has all the ANSI stuff, prototypes, and a default of 32-bit ints so problems are resolved. Oh, BTW, the Manx file you want is "functions.h". > > > Duncan Thomson > > -- > (Please excuse the typos and garbage caused by line noise.) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John P. Melvin "Magic is real -- unless declared integer." // UUCP: {harvard|rutgers|ucbvax}!uwvax!astroatc!nicmad!madnix!jmelv \X/ AMIGA