Closed Bug 678780 Opened 15 years ago Closed 15 years ago

warnings-as-errors - this decimal constant is unsigned only in ISO C90 in jsapi-tests/testIndexToString.cpp:46:5

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 678845

People

(Reporter: philor, Unassigned)

Details

Top of the warnings-as-errors stack for Linux32 opt, and OS X 10.5 opt and debug (and quite possibly 10.6, once we get them actually building). http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Inbound/1313260425.1313260968.1007.gz mozilla-inbound_linux_spidermonkey-warnaserr on 2011/08/13 11:33:45 /usr/bin/ccache /tools/gcc-4.5/bin/g++ -o testIndexToString.o -c -I/builds/slave/m-in-lnx-spidermonkey-warnaserr/objdir/dist/system_wrappers_js -include ../../../src/js/src/config/gcc_hidden.h -DEXPORT_JS_API -DOSTYPE=\"Linux2.6.18-53.1.19\" -DOSARCH=Linux -I../../../src/js/src -I.. -I../../../src/js/src/jsapi-tests -I. -I/builds/slave/m-in-lnx-spidermonkey-warnaserr/objdir/dist/include -I/builds/slave/m-in-lnx-spidermonkey-warnaserr/objdir/dist/include/nsprpub -I/builds/slave/m-in-lnx-spidermonkey-warnaserr/objdir/dist/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer -Werror -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/testIndexToString.pp /builds/slave/m-in-lnx-spidermonkey-warnaserr/src/js/src/jsapi-tests/testIndexToString.cpp cc1plus: warnings being treated as errors /builds/slave/m-in-lnx-spidermonkey-warnaserr/src/js/src/jsapi-tests/testIndexToString.cpp:46:5: error: this decimal constant is unsigned only in ISO C90 /builds/slave/m-in-lnx-spidermonkey-warnaserr/src/js/src/jsapi-tests/testIndexToString.cpp:47:5: error: this decimal constant is unsigned only in ISO C90 /builds/slave/m-in-lnx-spidermonkey-warnaserr/src/js/src/jsapi-tests/testIndexToString.cpp:48:5: error: this decimal constant is unsigned only in ISO C90 /builds/slave/m-in-lnx-spidermonkey-warnaserr/src/js/src/jsapi-tests/testIndexToString.cpp:49:5: error: this decimal constant is unsigned only in ISO C90
Hmm, I got here first, he has the patch...
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.