From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <15c7c2800a45dfdf7be578a8996b56f0@terzarima.net> From: Charles Forsyth Date: Wed, 9 Sep 2009 17:54:15 +0100 To: fernanbolando@mailc.net, 9fans@9fans.net In-Reply-To: <1d5d51400909090927u2a4e6742k9614b79df841d3b6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] porting help please (gcc void pointer handling) Topicbox-Message-UUID: 6bd59e74-ead5-11e9-9d60-3106f5b1d025 >I am trying to port nhc98 the bytecode haskell compiler. i see. that makes it much harder to try my suggestion. i wonder why the compiler doesn't generate char* (or unsigned char*) for those defines? perhaps directly changing that would be better. if it needed a void* result then #define CT_v249 ((void*)((char*)startLabel+464)) would make the addition portable (between byte-oriented machines, but that was anyway assumed) and leave the result void*