Bug ID 964467
Summary mozjs17 fails to build with GCC 6
Classification openSUSE
Product openSUSE Tumbleweed
Version 2015*
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Firefox
Assignee bnc-team-mozilla@forge.provo.novell.com
Reporter rguenther@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

[  184s] c++ -o testScriptObject.o -c  -I../dist/system_wrappers_js -include
../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../jsapi-tests
-I. -I../dist/include  -I/usr/include/nspr4       -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
-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -Wno-error=misleading-indentation -g -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG
-DTRIMMED -g -O3 -freorder-blocks  -fomit-frame-pointer   -DMOZILLA_CLIENT
-include ../js-confdefs.h -MD -MF .deps/testScriptObject.o.pp
/home/abuild/rpmbuild/BUILD/mozjs17.0.0/js/src/jsapi-tests/testScriptObject.cpp
[  184s] In file included from ../jsapi.h:26:0,
[  184s]                  from
/home/abuild/rpmbuild/BUILD/mozjs17.0.0/js/src/jsapi-tests/tests.h:10,
[  184s]                  from
/home/abuild/rpmbuild/BUILD/mozjs17.0.0/js/src/jsapi-tests/testScriptObject.cpp:9:
[  184s] ../gc/Root.h: In constructor
'JS::Handle<T>::Handle(JS::NullPtr)':
[  184s] ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used
[-Wunused-local-typedefs]
[  184s]          typedef typename
js::tl::StaticAssert<js::tl::IsPointerType<T>::result>::result _;
[  184s]                                                                       
                  ^
[  184s] In file included from ../jsapi.h:26:0,
[  184s]                  from
/home/abuild/rpmbuild/BUILD/mozjs17.0.0/js/src/jsapi-tests/tests.h:10,
[  184s]                  from
/home/abuild/rpmbuild/BUILD/mozjs17.0.0/js/src/jsapi-tests/testSetProperty.cpp:9:
[  184s] ../gc/Root.h: In constructor
'JS::Handle<T>::Handle(JS::NullPtr)':
[  184s] ../gc/Root.h:111:89: warning: typedef '_' locally defined but not used
[-Wunused-local-typedefs]
[  184s]          typedef typename
js::tl::StaticAssert<js::tl::IsPointerType<T>::result>::result _;
[  184s]                                                                       
                  ^
[  184s]
/home/abuild/rpmbuild/BUILD/mozjs17.0.0/js/src/jsapi-tests/testScriptObject.cpp:
At global scope:
[  184s]
/home/abuild/rpmbuild/BUILD/mozjs17.0.0/js/src/jsapi-tests/testScriptObject.cpp:40:67:
error: size of array 'uc_code' is not an integral constant-expression
[  184s]  jschar ScriptObjectFixture::uc_code[ScriptObjectFixture::code_size];
[  184s]                                                                    ^
[  184s] ../config/rules.mk:1017: recipe for target 'testScriptObject.o' failed


You are receiving this mail because: