Package: mozjs
Version: 1.8.5-1.0.0+dfsg-4.5
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> c++ -o jsapi.o -c  -I./dist/system_wrappers_js -include ./config/gcc_hidden.h 
> -DOSTYPE=\"Linux4.3.0-0.bpo\" -DOSARCH=Linux -DEXPORT_JS_API 
> -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" 
> -DDLL_SUFFIX=\".so\"  -I.  -I. -I. -I./dist/include -I./dist/include/nsprpub  
> -I/usr/include/nspr   -I. -I./assembler -I./yarr  -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 -O3 
> -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 
> -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1   -DMOZILLA_CLIENT -include 
> ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp
> In file included from jsapi.cpp:52:0:
> jsutil.h: In function 'T* js_array_new(size_t)':
> jsutil.h:304:2: warning: statement is indented as if it were guarded by... 
> [-Wmisleading-indentation]
>   *(size_t *)memory = n;
>   ^
> 
> jsutil.h:302:5: note: ...this 'if' clause, but it is not
>      if (!memory)
>      ^~
> 
> In file included from jsapi.cpp:56:0:
> jsapi.h: At global scope:
> jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval 
> {aka long unsigned int}'
>  template<> class AnchorPermitted<jsval> { };
>                                        ^
> 
> In file included from jsapi.cpp:52:0:
> jsvalue.h: In member function 'void js::Value::staticAssertions()':
> jsutil.h:120:43: warning: typedef 'js_static_assert6' locally defined but not 
> used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsvalue.h:740:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert7' locally defined but not 
> used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsvalue.h:741:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert8' locally defined but not 
> used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsvalue.h:742:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(JSBool) == 4);
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert9' locally defined but not 
> used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsvalue.h:743:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert10' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsvalue.h:744:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(jsval) == 8);
>          ^~~~~~~~~~~~~~~~
> 
> jsstr.h: In static member function 'static void JSString::staticAsserts()':
> jsutil.h:120:43: warning: typedef 'js_static_assert39' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsstr.h:487:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >>
>          ^~~~~~~~~~~~~~~~
> 
> jsstr.h: In static member function 'static void 
> JSShortString::staticAsserts()':
> jsutil.h:120:43: warning: typedef 'js_static_assert43' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsstr.h:596:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) ==
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert44' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsstr.h:598:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == 
> sizeof(JSString));
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert45' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsstr.h:599:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) +
>          ^~~~~~~~~~~~~~~~
> 
> In file included from nanojit/nanojit.h:377:0,
>                  from jsbuiltins.h:45,
>                  from jsapi.cpp:60:
> nanojit/RegAlloc.h: In function 'nanojit::Register 
> nanojit::lsReg(nanojit::RegisterMask)':
> nanojit/RegAlloc.h:189:52: warning: narrowing conversion of '((sizeof 
> (nanojit::RegisterMask) == 4ul) ? nanojit::lsbSet32(mask) : 
> nanojit::lsbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka 
> unsigned int}' inside { } [-Wnarrowing]
>          Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : 
> lsbSet64(mask) };
>                         
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> nanojit/RegAlloc.h: In function 'nanojit::Register 
> nanojit::msReg(nanojit::RegisterMask)':
> nanojit/RegAlloc.h:197:52: warning: narrowing conversion of '((sizeof 
> (nanojit::RegisterMask) == 4ul) ? nanojit::msbSet32(mask) : 
> nanojit::msbSet64(((uint64_t)mask)))' from 'int' to 'nanojit::Register {aka 
> unsigned int}' inside { } [-Wnarrowing]
>          Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : 
> msbSet64(mask) };
>                         
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> In file included from jsapi.cpp:52:0:
> jsscript.h: In member function 'void js::UpvarCookie::checkInvariants()':
> jsutil.h:120:43: warning: typedef 'js_static_assert47' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsscript.h:83:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32));
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert48' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsscript.h:84:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL);
>          ^~~~~~~~~~~~~~~~
> 
> jsfun.h: In static member function 'static uintN 
> JSFunction::offsetOfNativeOrScript()':
> jsutil.h:120:43: warning: typedef 'js_static_assert49' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsfun.h:228:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script));
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert50' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsfun.h:229:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, 
> nativeOrScript));
>          ^~~~~~~~~~~~~~~~
> 
> jsgc.h: In function 'size_t js::gc::GetFinalizableTraceKind(size_t)':
> jsutil.h:120:43: warning: typedef 'js_static_assert58' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsgc.h:514:5: note: in expansion of macro 'JS_STATIC_ASSERT'
>      JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8);
>      ^~~~~~~~~~~~~~~~
> 
> jsgc.h: In function 'intN js::gc::GetExternalStringGCType(JSExternalString*)':
> jsutil.h:120:43: warning: typedef 'js_static_assert59' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsgc.h:550:5: note: in expansion of macro 'JS_STATIC_ASSERT'
>      JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING);
>      ^~~~~~~~~~~~~~~~
> 
> jsinterp.h: In member function 'void JSStackFrame::staticAsserts()':
> jsutil.h:120:43: warning: typedef 'js_static_assert61' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsinterp.h:778:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) 
> == 0);
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert62' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsinterp.h:779:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0);
>          ^~~~~~~~~~~~~~~~
> 
> jsclone.h: In member function 'void js::SCInput::staticAssertions()':
> jsutil.h:120:43: warning: typedef 'js_static_assert65' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsclone.h:100:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(jschar) == 2);
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert66' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsclone.h:101:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(uint32_t) == 4);
>          ^~~~~~~~~~~~~~~~
> 
> jsutil.h:120:43: warning: typedef 'js_static_assert67' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsclone.h:102:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(sizeof(jsdouble) == 8);
>          ^~~~~~~~~~~~~~~~
> 
> jsstrinlines.h: In member function 'jsint js::StringBuffer::length() const':
> jsutil.h:120:43: warning: typedef 'js_static_assert68' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsstrinlines.h:202:5: note: in expansion of macro 'JS_STATIC_ASSERT'
>      JS_STATIC_ASSERT(jsint(JSString::MAX_LENGTH) == JSString::MAX_LENGTH);
>      ^~~~~~~~~~~~~~~~
> 
> jsstrinlines.h: In static member function 'static JSFlatString* 
> JSString::lookupStaticString(const jschar*, size_t)':
> jsutil.h:120:43: warning: typedef 'js_static_assert69' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsstrinlines.h:303:5: note: in expansion of macro 'JS_STATIC_ASSERT'
>      JS_STATIC_ASSERT(INT_STRING_LIMIT <= 999);
>      ^~~~~~~~~~~~~~~~
> 
> jsscope.h: In member function 'void js::Shape::setParent(js::Shape*)':
> jsutil.h:120:43: warning: typedef 'js_static_assert70' locally defined but 
> not used [-Wunused-local-typedefs]
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                                            ^
> 
> jsutil.h:117:41: note: in definition of macro 'JS_STATIC_ASSERT_GLUE1'
>      #define JS_STATIC_ASSERT_GLUE1(x,y) x##y
>                                          ^
> 
> jsutil.h:120:21: note: in expansion of macro 'JS_STATIC_ASSERT_GLUE'
>          typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, 
> __COUNTER__)[(cond) ? 1 : -1]
>                      ^~~~~~~~~~~~~~~~~~~~~
> 
> jsscope.h:431:9: note: in expansion of macro 'JS_STATIC_ASSERT'
>          JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0));
>          ^~~~~~~~~~~~~~~~
> 
> In file included from jsapi.cpp:94:0:
> jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)':
> jsobjinlines.h:316:24: warning: cast to pointer from integer of different 
> size [-Wint-to-pointer-cast]
>      setPrivate((void*) length);
>                         ^~~~~~
> 
> In file included from ./assembler/assembler/MacroAssembler.h:54:0,
>                  from yarr/yarr/RegexJIT.h:31,
>                  from jsregexpinlines.h:49,
>                  from jsapi.cpp:97:
> ./assembler/assembler/MacroAssemblerX86_64.h: In member function 
> 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call 
> JSC::MacroAssemblerX86_64::call()':
> ./assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable 
> 'label' set but not used [-Wunused-but-set-variable]
>          DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister);
>                       ^~~~~
> 
> ./assembler/assembler/MacroAssemblerX86_64.h: In member function 
> 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call 
> JSC::MacroAssemblerX86_64::tailRecursiveCall()':
> ./assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable 
> 'label' set but not used [-Wunused-but-set-variable]
>          DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister);
>                       ^~~~~
> 
> ./assembler/assembler/MacroAssemblerX86_64.h: In member function 
> 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Call 
> JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump)':
> ./assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable 
> 'label' set but not used [-Wunused-but-set-variable]
>          DataLabelPtr label = moveWithPatch(ImmPtr(0), scratchRegister);
>                       ^~~~~
> 
> jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)':
> jsapi.cpp:3988:16: error: cannot convert 'bool' to 'JSIdArray*' in return
>          return false;
>                 ^~~~~
> 
> config/rules.mk:1475: recipe for target 'jsapi.o' failed
> make[2]: *** [jsapi.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to