From: SourceForge.net <no...@so...> - 2010-09-24 21:59:30
|
Patches item #3075150, was opened at 2010-09-24 21:59 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3075150&group_id=1645 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: general Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: ulyssessouza () Assigned to: Nobody/Anonymous (nobody) Summary: Declaring static variables inside a namespace Initial Comment: According to C++ Standard 7.3.1.1 paragraph 2(OK the paper I have is not the official :D but...), the static declaration inside a namespace is deprecated. - Ok! Deprecated doesn't mean it's a problem. - But the problem is that I had a problem with gcc-4.1.2-glibc-2.3.6. The I can assign values to the variables and then in other method(calling a director method) the variables are empty(var == NULL). It happens with the director responsible variables inside the namespace Swig: jclass jclass_%s; jmethodID director_methids[%d]; Ahhh... And sorry... I don't have examples nether runtime test I could provide. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3075150&group_id=1645 |