Patches item #1682957, was opened at 2007-03-17 21:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745326&aid=1682957&group_id=140042
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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Kevin J Bluck (kbluck) Assigned to: Nobody/Anonymous (nobody) Summary: wxUSE_STL == 1 breaks build Initial Comment: Presently, if wx/setup.h has wxUSE_STL 1 wxLua will not build, because of the widespread use of wxNode* instead of wxList::compatibility_iterator. This patch makes the necessary changes to allow wxLua to build properly with either configuration. On a related note, when building with wxUSE_STL turned on, wxLUA_USE_wxList must be set to 0. It appears that when pushing node instances on the stack it assumes that nodes are pointers and therefore treats them as light userdata, but in STL mode compatibility_iterator is generally *not* a pointer, and so is not convertible to void*. I personally don't view this as an issue worth fixing; I don't have any real need to use wxList in Lua code. But to be perfectly complete, those functions that push Node/compatibility_iterator ought to push full userdata instead of light. I don't know how feasible this might be; from my cursory examination it looks difficult. But like I said, I don't view just turning off the wxList binding as an unacceptable solution. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745326&aid=1682957&group_id=140042 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users