Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!comp.vuw.ac.nz!am.dsir.govt.nz!tui.marcam.dsir.govt.nz!tony From: tony@tui.marcam.dsir.govt.nz (Tony Cooper) Newsgroups: comp.unix.aux Subject: Re: Porting MPW C code to A/UX, Can some one give me a hand? Message-ID: <1991Jun6.113805.5000@am.dsir.govt.nz> Date: 6 Jun 91 11:38:05 GMT References: <1991Jun6.071753.4907@newshost.anu.edu.au> Sender: news@am.dsir.govt.nz Reply-To: sramtrc@albert.dsir.govt.nz Organization: Applied Mathematics Group D.S.I.R. Lines: 12 In article <1991Jun6.071753.4907@newshost.anu.edu.au>, djp862@anu.oz.au ("David J Peterson") writes: |> I'm trying to port some code written in MPW C to A/UX and am having |> some trouble with the variable argument declarations in MPW C. This is easily done in A/UX. The man page for varargs shows how to do it. I think your problem is that you are using ANSI C whereas A/UX cc isn't ANSI. I'm not sure because your code does not look like ANSI either. But if you forget about all that and do it the way the varargs method does it you should be OK. Tony Cooper