[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 (Tracker Item Submitted) 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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evert Glebbeek (eglebbk)
Assigned to: Peter Hull (peterhull90)
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.

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

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/