MozQWidget does not build due to wrong return value type

RESOLVED FIXED in mozilla19

Status

defect
RESOLVED FIXED
7 years ago
3 years ago

People

(Reporter: romaxa, Assigned: romaxa)

Tracking

unspecified
mozilla19
x86_64
Linux
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

7 years ago
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

7 years ago
Summary: MozQWidget does not build on latest tip → MozQWidget does not build due to wrong return value type
https://hg.mozilla.org/mozilla-central/rev/d3204a38a712
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.