🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3273

Re: YAMB (Yet Another Manx Bug in 5.0a)

#3273
From: Anthony M. Richardson
Date: Wed, 11 Apr 1990 18:22
12 lines
1091 bytes
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.
Technical Details
Message-ID: <738@cameron.cs.duke.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!swrinde!emory!mephisto!mcnc!duke!cameron!dukee!amr
References: <16544@estelle.udel.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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