[AD] [ alleg-Bugs-2207205 ] TRACE, ASSERT namespace pollution

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


Bugs item #2207205, was opened at 2008-10-29 23:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2207205&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: None
Group: 4.9
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Peter Wang (tjaden)
Assigned to: Nobody/Anonymous (nobody)
Summary: TRACE, ASSERT namespace pollution

Initial Comment:
Find a way to clean up this namespace pollution. Internally we might still want
to use ASSERT/TRACE since ALLEGRO_ASSERT, ALLEGRO_TRACE everywhere might be
just a little too ugly.  We could do:

    #ifdef ALLEGRO_LIB_BUILD
	#define ASSERT(x) ALLEGRO_ASSERT(x)
	#define TRACE(x) ALLEGRO_TRACE(x)
    #endif



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

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




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