Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83 based; site houxf.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!houxf!jph From: jph@houxf.UUCP (J.HARKINS) Newsgroups: net.lang.c Subject: Re: Arcane C hacks? Message-ID: <1071@houxf.UUCP> Date: Sun, 2-Mar-86 13:28:25 EST Article-I.D.: houxf.1071 Posted: Sun Mar 2 13:28:25 1986 Date-Received: Tue, 4-Mar-86 04:53:14 EST References: <1700003@umn-cs.UUCP> <1700004@umn-cs.UUCP>, <857@pucc-j> Organization: AT&T Bell Labs, Holmdel NJ Lines: 26 Keywords: type casts,function pointers Sorry for the delay, haven't read news in a week ... >and just malloc the storage for the generated code. ... It should be This is the line I missed in the original posting, thus the motivation for my reply to Karl Heuer's posting was off the mark. Sorry about that Karl, and everyone else who has charred the Recieve Data line on my modem for it. >Huh??? This line of code DOES NOT cast a char * into an int.... I should have said (int (*))() instead of int, and was referring to the declaration, not the attempt to assign code to a variable. As I said above, I conviently missed the orignal point, trying to dynamically generate code, which is indeed illegal for seperate I&D. So, in the words of Gilda Radner: "Never mind". Consider this posting my reply to future flames on my original reply. ------ Disclaimer: I hereby disclaim all my debts. ------ Jack Harkins @ AT&T Bell Labs Princeton Information (201) 949-3618 (201) 561-3370 houxf!jph