[AD] [ alleg-Bugs-2938959 ] Move magic main to addon

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #2938959, was opened at 2010-01-25 00:37
Message generated for change (Comment added) made by eglebbk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2938959&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mac OSX
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Evert Glebbeek (eglebbk)
Assigned to: Evert Glebbeek (eglebbk)
Summary: Move magic main to addon

Initial Comment:
Currently, main() mangling can be disabled but Allegro's own main function is compiled into the library so the user cannot actually disable Allegro's magic main.
This is required when using Allegro alongside other libraries that need a similar setup to Allegro's. Moving Allegro's main() function to an addon and requiring the user to link to this addon solves this problem.
The addon can be empty but present for other ports.

----------------------------------------------------------------------

>Comment By: Evert Glebbeek (eglebbk)
Date: 2010-01-26 14:31

Message:
Done.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2938959&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/