Re: [AD] END_OF_MAIN, again |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] END_OF_MAIN, again
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Sun, 31 Jul 2005 03:36:00 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=aJAu0dJG5NPrQXcLf2dVgwSQBTFIDTFCP5Cbw1EuzePGmpV0uvNJxUiKXs/x8DBJZKrjZDptFV8D0IHH1Kv0xb8vg7sSs1IbsuO9X+3TLGMIPnhR73OSSw05y71fTMRxfd2AEdX0PxAnOpfIvzmvmnl+lpsdwy75qfKGYifil+4=
On Sunday 31 July 2005 01:09 am, Hrvoje Ban wrote:
> I fix it, new patch attached. I had to add __declspec(dllexport) to both
> __install_allegro and _mangled_main.
It still has the problem that it's making install_allegro call the function in
the library instead of allowing it to inline. And I also see that you're
defining _mangled_main as a specific function type. You can't do this because
the programmer could have _mangled_main defined in a couple different ways..
plus, it can be a C or C++ symbol/function.
Not to be a downer, but it doesn't look like this idea is going to work after
all. Unless you can think of something?