SBBS compile error (4/5)
From
macexplorer057@gmail.com@1:229/2 to
All on Sunday, March 04, 2018 19:57:18
[continued from previous message]
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:571: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:280: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;
^~~~~
[continued in next message]
--- SoupGate-Win32 v1.05
* Origin: www.darkrealms.ca (1:229/2)