Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!emory!mephisto!mcnc!duke!cameron!dukee!amr From: amr@dukee.egr.duke.edu (Anthony M. Richardson) Newsgroups: comp.sys.amiga.tech Subject: Re: YAMB (Yet Another Manx Bug in 5.0a) Message-ID: <738@cameron.cs.duke.edu> Date: 11 Apr 90 18:22:45 GMT References: <16544@estelle.udel.EDU> Sender: news@cameron.cs.duke.edu Lines: 12 From article <16544@estelle.udel.EDU>, by new@udel.EDU (Darren New): > In article <4606@cpoint.UUCP> steve@cpoint.UUCP (Stephen Steir) writes: >>I post this example in hopes that it will save time for other Manx 5.0a users. >> int (*p2foo)(); > Maybe you should try int (*p2foo)(short, short, short); > This works for me in LC5.04 and I get warnings if I don't put the > arguments in. I suspect this is not really a bug. -- Darren I agree, I don't think it is a bug either. Since (*p2foo) is not prototyped how can the compiler possibly know how to cast the arguments? And, since in the original post, (*p2foo) was not prototyped, I think the compiler correctly cast its arguments as longs.