libqtlua-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libqtlua-list] patch for osx compile


From: 高晓俊
Subject: Re: [Libqtlua-list] patch for osx compile
Date: Fri, 3 May 2013 02:32:28 +0800

problem Report:
  QT version 5.0.1 and 5.0.2 , OS: linux and osx 
  run qtlua, and type os.exit() 
 i got:
 qtlua: /home/gxj/pp/libqtlua/src/QtLua/qtluaref.hh:513: QtLua::Refobj<X>::~Refobj() [with X = QtLua::UserData]: Assertion `ref_count() == 0 || !"Can not destruct object with live references"' failed.
Aborted


2013/5/3 高晓俊 <address@hidden>

Qt version 5.0.2
OSX: Mountain Lion 10.8.3
XCode: 4.6.2

BTW: without patch , Qtlua compile successful on linux, so i think it's compiler problem

--- qtluavaluebase.hh 2013-05-02 14:12:30.000000000 +0800
+++ qtluavaluebase.hh 2013-05-02 09:04:40.000000000 +0800
@@ -62,7 +62,6 @@
   friend class TableIterator;
   friend class Value;
   friend class ValueRef;
-  friend uint qHash(const Value &lv);
 
   inline ValueBase(const State *ls);




--
高晓俊
Mobile:15251828898
Office:025-83187753
江苏有线

reply via email to

[Prev in Thread] Current Thread [Next in Thread]