Closed
Bug 801428
Opened 12 years ago
Closed 12 years ago
MozQWidget does not build due to wrong return value type
Categories
(Core Graveyard :: Widget: Qt, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla19
People
(Reporter: romaxa, Assigned: romaxa)
Details
Attachments
(1 file)
2.70 KB,
patch
|
Details | Diff | Splinter Review |
widget/qt/mozqwidget.cpp: In member function ‘virtual bool MozQWidget::SetCursor(nsCursor)’:
widget/qt/mozqwidget.cpp:472:12: error: cannot convert ‘tag_nsresult’ to ‘bool’ in return
widget/qt/mozqwidget.cpp: In member function ‘bool MozQWidget::SetCursor(const QPixmap&, int, int)’:
widget/qt/mozqwidget.cpp:480:12: error: cannot convert ‘tag_nsresult’ to ‘bool’ in return
c++ -o mozqglwidgetwrapper.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DEXCLUDE_SKIA_DEPENDENCIES -DOS_POSIX=1 -DOS_LINUX=1 -D_IMPL_NS_WIDGET -D_BSD_SOURCE -Iipc/chromium/src -Iipc/glue -I../../ipc/ipdl/_ipdlheaders -Iwidget/xpwidgets -Iwidget/qt/faststartupqt -Iwidget/qt -Iwidget/qt -I. -I../../dist/include -Iobj-xr-qt/dist/include/nspr -Iobj-xr-qt/dist/include/nss -Iwidget/qt/../shared/x11 -Iwidget/qt/../shared -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -fno-omit-frame-pointer -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -Iobj-xr-qt/dist/include/cairo -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/mozqglwidgetwrapper.o.pp widget/qt/mozqglwidgetwrapper.cpp
widget/qt/mozqwidget.cpp: In member function ‘bool MozQWidget::SetCursor(const QPixmap&, int, int)’:
widget/qt/mozqwidget.cpp:481:1: error: control reaches end of non-void function [-Werror=return-type]
widget/qt/mozqwidget.cpp: In member function ‘virtual bool MozQWidget::SetCursor(nsCursor)’:
widget/qt/mozqwidget.cpp:473:1: error: control reaches end of non-void function [-Werror=return-type]
Assignee | ||
Updated•12 years ago
|
Summary: MozQWidget does not build on latest tip → MozQWidget does not build due to wrong return value type
Assignee | ||
Comment 1•12 years ago
|
||
Status: NEW → ASSIGNED
Comment 2•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•