Description
System OS: Fedora 17 Development
QT Libraries:(Linux/X11) qt-everywhere-opensource-src-4.8.2.tar.gz
When I build QT 4.8.2 Libraries, I encounter some errors, such as "union struct", and I delete typedef struct _GMute GMute.It works.
Below is another error, and I just find the bug-report in a debian forum, and that version is 4.7.4, nothing help.
============
=error code:=
============
In file included from ../JavaScriptCore/wtf/CrossThreadRefCounted.h:36:0,
from ../JavaScriptCore/wtf/text/StringImpl.h:28,
from ../JavaScriptCore/wtf/text/AtomicStringImpl.h:24,
from ../JavaScriptCore/wtf/text/AtomicString.h:24,
from ../JavaScriptCore/wtf/text/StringHash.h:25,
from platform/ThreadGlobalData.h:33,
from dom/EventNames.h:25,
from dom/EventTarget.h:35,
from dom/Node.h:28,
from editing/VisiblePosition.h:30,
from accessibility/AccessibilityObject.h:34,
from accessibility/AccessibilityObject.cpp:30:
../JavaScriptCore/wtf/RefCounted.h: In instantiation of ‘void WTF::RefCounted<T>::deref() [with T = WebCore::Frame]’:
../JavaScriptCore/wtf/PassRefPtr.h:59:13: required from ‘void WTF::derefIfNotNull(T*) [with T = WebCore::Frame]’
../JavaScriptCore/wtf/RefPtr.h:58:63: required from ‘WTF::RefPtr<T>::~RefPtr() [with T = WebCore::Frame]’
page/FrameTree.h:37:29: required from here
../JavaScriptCore/wtf/RefCounted.h:141:13: 错误:deleting object of polymorphic class type ‘WebCore::Frame’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
cc1plus: all warnings being treated as errors
gmake[2]: *** [.obj/release-static/AccessibilityObject.o] 错误 1
gmake[2]: 离开目录“/home/weichao/workspace/Qt/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore”
gmake[1]: *** [sub-WebCore-make_default-ordered] 错误 2
gmake[1]: 离开目录“/home/weichao/workspace/Qt/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source”
gmake: *** [sub-webkit-make_default-ordered] 错误 2
=================
please help me!