Closed
Bug 898311
Opened 11 years ago
Closed 11 years ago
#error qmetatype.h must be included before any header file that defines Bool
Categories
(Core Graveyard :: Widget: Qt, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla25
People
(Reporter: tatiana, Assigned: Ms2ger)
References
Details
Attachments
(3 files, 1 obsolete file)
Qt Firefox fails to build: c++ -o PluginModuleParent.o -c -I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include /home/nebel/mozilla-upstream/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -DOS_POSIX=1 -DOS_LINUX=1 -DFORCE_PR_LOG -I/home/nebel/mozilla-upstream/dom/plugins/ipc/../base -I/home/nebel/mozilla-upstream/xpcom/base/ -I/home/nebel/mozilla-upstream/ipc/chromium/src -I/home/nebel/mozilla-upstream/ipc/glue -I../../../ipc/ipdl/_ipdlheaders -I/home/nebel/mozilla-upstream/dom/plugins/ipc -I. -I../../../dist/include -I/home/nebel/mozilla-upstream/obj-browser-qt-debug/dist/include/nspr -I/home/nebel/mozilla-upstream/obj-browser-qt-debug/dist/include/nss -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -Os -freorder-blocks -fno-omit-frame-pointer -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtGui/5.0.2/QtGui -I/home/nebel/mozilla-upstream/obj-browser-qt-debug/dist/include/cairo -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/PluginModuleParent.o.pp /home/nebel/mozilla-upstream/dom/plugins/ipc/PluginModuleParent.cpp In file included from /usr/include/qt5/QtCore/qobject.h:55:0, from /usr/include/qt5/QtCore/qcoreapplication.h:45, from /usr/include/qt5/QtCore/QCoreApplication:1, from /home/nebel/mozilla-upstream/dom/plugins/ipc/PluginModuleParent.cpp:43: /usr/include/qt5/QtCore/qmetatype.h:56:2: error: #error qmetatype.h must be included before any header file that defines Bool /usr/include/qt5/QtCore/qmetatype.h:205:9: error: expected identifier before ‘int’ ...
Assignee | ||
Comment 1•11 years ago
|
||
Ugh. Do you know what defines Bool?
Reporter | ||
Comment 2•11 years ago
|
||
Xlib.h included from npapi.h defines Bool. These four include npapi.h: #include "mozilla/plugins/PluginModuleParent.h" #include "mozilla/plugins/BrowserStreamParent.h" #include "nsNPAPIPlugin.h" #include "PluginIdentifierParent.h"
Assignee | ||
Comment 3•11 years ago
|
||
Can you check if this helps?
Assignee: nobody → Ms2ger
Status: NEW → ASSIGNED
Attachment #782486 -
Flags: feedback?(tanya.meshkova)
Reporter | ||
Comment 4•11 years ago
|
||
Reporter | ||
Comment 5•11 years ago
|
||
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 782486 [details] [diff] [review] Patch v1 It doesn't. See the log above.
Attachment #782486 -
Flags: feedback?(tanya.meshkova) → feedback-
Reporter | ||
Updated•11 years ago
|
Attachment #782788 -
Attachment mime type: text/x-chdr → text/plain
Assignee | ||
Comment 7•11 years ago
|
||
I hate C++. How about this?
Attachment #782486 -
Attachment is obsolete: true
Attachment #783028 -
Flags: superreview?(tanya.meshkova)
Reporter | ||
Updated•11 years ago
|
Attachment #783028 -
Flags: superreview?(tanya.meshkova) → feedback+
Assignee | ||
Updated•11 years ago
|
Attachment #783028 -
Flags: review?(mounir)
Updated•11 years ago
|
Attachment #783028 -
Flags: review?(mounir) → review+
Updated•11 years ago
|
Attachment #783028 -
Flags: checkin?
Reporter | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 8•11 years ago
|
||
Yes, I'll land it, thanks for the reminders.
Keywords: checkin-needed
Updated•11 years ago
|
Attachment #783028 -
Flags: checkin? → checkin+
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f307c0643e69
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•