Closed Bug 770624 Opened 12 years ago Closed 12 years ago

compile failure with gcc 4.6 on fedora 16 in nsTableFrame.cpp

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bhearsum, Unassigned)

References

Details

We're hitting this on the new b2g desktop builds (bug 760168):
/usr/bin/ccache c++ -o nsTableFrame.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /builds/slave/m-cen-linux32-gecko-ntly/build/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -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 -DDEBUG_TABLE_STRATEGY_off -D_IMPL_NS_LAYOUT -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/../base -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/../generic -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/../style -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/../xul/base/src -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/../../content/html/content/src -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/../../content/base/src -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/../../intl/unicharutil/util -I/builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables -I. -I../../dist/include -I/builds/slave/m-cen-linux32-gecko-ntly/build/obj-firefox/dist/include/nspr -I/builds/slave/m-cen-linux32-gecko-ntly/build/obj-firefox/dist/include/nss -fPIC -pedantic -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 -DMOZ_ENABLE_JS_DUMP -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -Werror -Wno-error=uninitialized -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsTableFrame.o.pp /builds/slave/m-cen-linux32-gecko-ntly/build/layout/tables/nsTableFrame.cpp
../../../layout/tables/nsTableFrame.cpp: In member function 'void nsTableFrame::DistributeHeightToRows(const nsHTMLReflowState&, nscoord)':
../../../layout/tables/nsTableFrame.cpp:3096:20: error: variable 'oldRowRect' set but not used [-Werror=unused-but-set-variable]
../../../layout/tables/nsTableFrame.cpp:3120:16: error: variable 'origRgRect' set but not used [-Werror=unused-but-set-variable]
../../../layout/tables/nsTableFrame.cpp:3121:16: error: variable 'origRgVisualOverflow' set but not used [-Werror=unused-but-set-variable]
../../../layout/tables/nsTableFrame.cpp:3216:16: error: variable 'rowVisualOverflow' set but not used [-Werror=unused-but-set-variable]
../../../layout/tables/nsTableFrame.cpp:3210:12: error: variable 'rgVisualOverflow' set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
This blocks us creating B2G desktop builds on linux for use by dev/qa/localizers and community.
blocking-basecamp: --- → ?
We seem to be getting past this now and failing in 'make buildsymbols' (which is a RelEng issue, probably bug 759975). Someone pointed at http://hg.mozilla.org/mozilla-central/rev/c22083ebc853 as the thing that fixed it.
Status: NEW → RESOLVED
blocking-basecamp: ? → ---
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.