🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari16
Article #1247

megamax bug?

#1247
From: ACS19
Date: Sat, 19 Jul 1986 17:41
16 lines
1045 bytes
While trying to compile a program using Megamax C (ported from DRI C) with
type casting changes (coercion -- a real pain).  The problem seems to be with
a pointer to a function.  For example:

long  (* ptr)()
 .
 .   code
 .
return ((*ptr)(var1,var2,var3))

When it gets to this point, returning the result of the jump thru the pointer
to the function, it blows up.  I could do this in assembly and insert it, but
that is a pain...
Any answers, comments.

Thanks,  Mike
Technical Details
Message-ID: <8607191804.AA14701@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!andromeda!topaz!nike!ucbcad!ucbvax!UHUPVM1.BITNET!ACS19

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!andromeda!topaz!nike!ucbcad!ucbvax!UHUPVM1.BITNET!ACS19
From: ACS19@UHUPVM1.BITNET
Newsgroups: net.micro.atari16
Subject: megamax bug?
Message-ID: <8607191804.AA14701@ucbvax.Berkeley.EDU>
Date: Sat, 19-Jul-86 13:41:27 EDT
Article-I.D.: ucbvax.8607191804.AA14701
Posted: Sat Jul 19 13:41:27 1986
Date-Received: Sun, 20-Jul-86 06:24:24 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: ACS19%UHUPVM1.BITNET@WISCVM.ARPA
Organization: The ARPA Internet
Lines: 16