Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!nucsrl!tellab5!laidbak!mcdchg!ditka!teda!netcomsv!amdcad!dgcad!dg-rtp!webo!spud!bkahn From: bkahn@spud.webo.dg.com (Bruce Kahn) Newsgroups: comp.sys.apple2 Subject: Re: Orca/C 1.2 bug Message-ID: <1991Jun12.165056.27648@webo.dg.com> Date: 12 Jun 91 16:50:56 GMT References: <841@generic.UUCP> Sender: bkahn@spud (Bruce Kahn) Reply-To: bkahn@archive.webo.dg.com (Bruce Kahn) Organization: Data General Corporation, Westboro, MA Lines: 27 In article <841@generic.UUCP>, ericmcg@pnet91.cts.com (Eric Mcgillicuddy) writes: |> Has anyone had trouble declaring a void function? The lexical analyser tells |> me that it was expecting a "(" as the first character after the close bracket |> of the parameter list. i.e. |> |> void foo () |> { |> ^ "(" expected |> Try using (void)... |> or |> |> void foo ( int myparms) ; |> ^ "(" expected (yes I know the code is wrong) |> I have a large project w/lots of void functions (w/and w/o parameters) and Ive yet to have a problem under Orca C 1.2. Then again I do prototype my functions at the top of the file. Have you tried prototyping the functions?? Bruce -- Bruce Kahn Phone (508) 870-6488 NSDD / OpenLAN Internet bkahn@archive.webo.dg.com Data General Corporation, Westboro MA USA FAX (508) 898-4212 Standard disclaimers still apply, even where prohibited by law...