The build took 00h 03m 47s and was SUCCESSFUL.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
78,500 |
ansic |
410 |
sh |
395 |
perl |
225 |
python |
98 |
makefile |
46 |
asm |
79,674 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg
that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/sbin --> /sysroot/sbin
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/etc --> /sysroot/etc
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/var --> /sysroot/var
/toolchain_root/usr --> /sysroot/usr
/toolchain_root/glibc-build --> /sysroot/glibc-build
/toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: pacparser 1.3.6-1 (Thu Apr 13 14:10:13 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
make: Entering directory '/tmp/pacparser/src/pacparser/src'
tar xzvf spidermonkey/js-?.?.?.tar.gz -C spidermonkey
js/
js/README
js/src/
js/src/.cvsignore
js/src/config/
js/src/config.mk
js/src/js.c
js/src/js.mak
js/src/js.mdp
js/src/js.msg
js/src/js.pkg
js/src/js3240.rc
js/src/jsapi.c
js/src/jsapi.h
js/src/jsarena.c
js/src/jsarena.h
js/src/jsarray.c
js/src/jsarray.h
js/src/jsatom.c
js/src/jsatom.h
js/src/jsbit.h
js/src/jsbool.c
js/src/jsbool.h
js/src/jsclist.h
js/src/jscntxt.c
js/src/jscntxt.h
js/src/jscompat.h
js/src/jsconfig.h
js/src/jsconfig.mk
js/src/jscpucfg.c
js/src/jscpucfg.h
js/src/jsdate.c
js/src/jsdate.h
js/src/jsdbgapi.c
js/src/jsdbgapi.h
js/src/jsdhash.c
js/src/jsdhash.h
js/src/jsdtoa.c
js/src/jsdtoa.h
js/src/jsemit.c
js/src/jsemit.h
js/src/jsexn.c
js/src/jsexn.h
js/src/jsfile.c
js/src/jsfile.h
js/src/jsfile.msg
js/src/jsfun.c
js/src/jsfun.h
js/src/jsgc.c
js/src/jsgc.h
js/src/jshash.c
js/src/jshash.h
js/src/jsify.pl
js/src/jsinterp.c
js/src/jsinterp.h
js/src/jsiter.c
js/src/jsiter.h
js/src/jskeyword.tbl
js/src/jskwgen.c
js/src/jslibmath.h
js/src/jslock.c
js/src/jslock.h
js/src/jslocko.asm
js/src/jslog2.c
js/src/jslong.c
js/src/jslong.h
js/src/jsmath.c
js/src/jsmath.h
js/src/jsnum.c
js/src/jsnum.h
js/src/jsobj.c
js/src/jsobj.h
js/src/jsopcode.c
js/src/jsopcode.h
js/src/jsopcode.tbl
js/src/jsOS240.def
js/src/jsosdep.h
js/src/jsotypes.h
js/src/jsparse.c
js/src/jsparse.h
js/src/jsprf.c
js/src/jsprf.h
js/src/jsproto.tbl
js/src/jsprvtd.h
js/src/jspubtd.h
js/src/jsregexp.c
js/src/jsregexp.h
js/src/jsscan.c
js/src/jsscan.h
js/src/jsscope.c
js/src/jsscope.h
js/src/jsscript.c
js/src/jsscript.h
js/src/jsshell.msg
js/src/jsstddef.h
js/src/jsstr.c
js/src/jsstr.h
js/src/jstypes.h
js/src/jsutil.c
js/src/jsutil.h
js/src/jsxdrapi.c
js/src/jsxdrapi.h
js/src/jsxml.c
js/src/jsxml.h
js/src/lock_SunOS.s
js/src/Makefile.in
js/src/Makefile.ref
js/src/perfect.js
js/src/plify_jsdhash.sed
js/src/prmjtime.c
js/src/prmjtime.h
js/src/README.html
js/src/resource.h
js/src/rules.mk
js/src/SpiderMonkey.rsp
js/src/win32.order
js/src/Y.js
js/src/config/AIX4.1.mk
js/src/config/AIX4.2.mk
js/src/config/AIX4.3.mk
js/src/config/CVS/
js/src/config/Darwin.mk
js/src/config/Darwin1.3.mk
js/src/config/Darwin1.4.mk
js/src/config/Darwin5.2.mk
js/src/config/Darwin5.3.mk
js/src/config/dgux.mk
js/src/config/HP-UXB.10.10.mk
js/src/config/HP-UXB.10.20.mk
js/src/config/HP-UXB.11.00.mk
js/src/config/IRIX.mk
js/src/config/IRIX5.3.mk
js/src/config/IRIX6.1.mk
js/src/config/IRIX6.2.mk
js/src/config/IRIX6.3.mk
js/src/config/IRIX6.5.mk
js/src/config/Linux_All.mk
js/src/config/Mac_OS10.0.mk
js/src/config/OSF1V4.0.mk
js/src/config/OSF1V5.0.mk
js/src/config/SunOS4.1.4.mk
js/src/config/SunOS5.3.mk
js/src/config/SunOS5.4.mk
js/src/config/SunOS5.5.1.mk
js/src/config/SunOS5.5.mk
js/src/config/SunOS5.6.mk
js/src/config/SunOS5.7.mk
js/src/config/SunOS5.8.mk
js/src/config/SunOS5.9.mk
js/src/config/WINNT4.0.mk
js/src/config/WINNT5.0.mk
js/src/config/WINNT5.1.mk
js/src/config/WINNT5.2.mk
js/src/config/CVS/Entries
js/src/config/CVS/Repository
js/src/config/CVS/Root
js/src/config/CVS/Tag
sed -i -e 's:\(shell uname -s | sed /\\ /s//_/\):\1 | sed s,GNU.*,Linux,:g' spidermonkey/js/src/config.mk
cd spidermonkey && SMCFLAGS="-fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy" make jsapi
make[1]: Entering directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
mkdir -p js/src/Linux_All_DBG.OBJ
CFLAGS="-fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy" make -C js/src -f Makefile.ref libjs.a
make[2]: Entering directory '/tmp/pacparser/src/pacparser/src/spidermonkey/js/src'
cat: ../../dist/Linux_All_DBG.OBJ/nspr/Version: No such file or directory
make[2]: Circular jscpucfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
gcc -o Linux_All_DBG.OBJ/jscpucfg.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jscpucfg.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jscpucfg.c:44:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jscpucfg Linux_All_DBG.OBJ/jscpucfg.o
make[2]: Circular Linux_All_DBG.OBJ/jsautocfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
rm -f Linux_All_DBG.OBJ/jsautocfg.h
Linux_All_DBG.OBJ/jscpucfg > Linux_All_DBG.OBJ/jsautocfg.h
gcc -o Linux_All_DBG.OBJ/jsapi.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsapi.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsapi.c:45:
In file included from /usr/include/ctype.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsapi.c:267:39: warning: incompatible pointer types passing 'struct __va_list_tag **' to parameter of type 'va_list *' (aka '__builtin_va_list *') [-Wincompatible-pointer-types]
JS_ADDRESSOF_VA_LIST(ap))) {
^~~~~~~~~~~~~~~~~~~~~~~~
jsapi.c:96:34: note: expanded from macro 'JS_ADDRESSOF_VA_LIST'
#define JS_ADDRESSOF_VA_LIST(ap) (&(ap))
^~~~~~~
jsapi.c:137:44: note: passing argument to parameter 'app' here
jsval **vpp, va_list *app)
^
jsapi.c:370:39: warning: incompatible pointer types passing 'struct __va_list_tag **' to parameter of type 'va_list *' (aka '__builtin_va_list *') [-Wincompatible-pointer-types]
JS_ADDRESSOF_VA_LIST(ap))) {
^~~~~~~~~~~~~~~~~~~~~~~~
jsapi.c:96:34: note: expanded from macro 'JS_ADDRESSOF_VA_LIST'
#define JS_ADDRESSOF_VA_LIST(ap) (&(ap))
^~~~~~~
jsapi.c:137:44: note: passing argument to parameter 'app' here
jsval **vpp, va_list *app)
^
jsapi.c:465:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:627:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_NUMBER(v)) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:1220:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!OBJ_DEFINE_PROPERTY(cx, obj, ATOM_TO_JSID(atom), JSVAL_VOID,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsapi.c:1427:65: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
return OBJ_DEFINE_PROPERTY(cx, obj, ATOM_TO_JSID(atom), JSVAL_VOID,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsapi.c:1521:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
!OBJ_DEFINE_PROPERTY(cx, obj, ATOM_TO_JSID(atom), JSVAL_VOID,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsapi.c:2055:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(v)) {
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:2295:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:2575:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ok = DefineProperty(cx, obj, ps->name, JSVAL_VOID,
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:2674:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
return JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:3210:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_SetReservedSlot(cx, obj, key, JSVAL_VOID);
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:3231:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(num_properties)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:3295:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(v))
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:3317:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(!JSVAL_IS_VOID(v));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsapi.c:3427:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*idp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:3438:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*idp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:3492:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = OBJ_GET_REQUIRED_SLOT(cx, obj, slot);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsobj.h:98:8: note: expanded from macro 'OBJ_GET_REQUIRED_SLOT'
: JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsapi.c:4861:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
cx->exception = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
21 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsarena.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsarena.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsarena.c:46:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsarray.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsarray.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsarray.c:45:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsarray.c:89:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(id)) {
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:135:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(v)) {
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:180:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(tvr.u.value)) {
^~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:231:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*idp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:263:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (id == JSVAL_VOID) {
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:265:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:274:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:297:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(id != JSVAL_VOID);
~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsarray.c:313:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (id == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:328:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(v == JSVAL_VOID);
~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsarray.c:432:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (id2 == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:598:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
(op != TO_SOURCE && (JSVAL_IS_VOID(v) || JSVAL_IS_NULL(v)))) {
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:767:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(argv[0])) {
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:951:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(av != JSVAL_VOID);
~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsarray.c:952:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(bv != JSVAL_VOID);
~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsarray.c:1054:13: warning: comparison of constant 2305843009213693951 with expression of type 'jsuint' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
if (len > ((size_t) -1) / sizeof(jsval)) {
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsarray.c:1097:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (vec[newlen] == JSVAL_VOID) {
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:1132:49: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!SetArrayElement(cx, obj, newlen++, JSVAL_VOID))
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:1194:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:1554:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*rval = INT_TO_JSVAL(-1);
^~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:1821:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (!JSVAL_IS_NUMBER(argv[0])) {
^~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsarray.c:208:5: warning: unused typedef 'js_static_assert_line_208' [-Wunused-local-typedef]
JS_STATIC_ASSERT((jsuint)-1 == 4294967295U);
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:153:1: note: expanded from here
js_static_assert_line_208
^
24 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsatom.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsatom.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsatom.c:44:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsatom.c:173:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsatom.c:782:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(value))
^~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
4 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsbool.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsbool.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsbool.c:44:
In file included from ./jstypes.h:416:
In file included from ./jsotypes.h:71:
In file included from /usr/include/sys/types.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsbool.c:201:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v)) {
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsbool.c:215:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_INT(v)) {
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
4 warnings generated.
gcc -o Linux_All_DBG.OBJ/jscntxt.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jscntxt.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jscntxt.c:46:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsdate.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsdate.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsdate.c:54:
In file included from /usr/include/ctype.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsdbgapi.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsdbgapi.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsdbgapi.c:45:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsdbgapi.c:397:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
: JSVAL_VOID,
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsdbgapi.c:540:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(id)) {
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsdbgapi.c:559:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!js_DefineProperty(cx, obj, propid, JSVAL_VOID,
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsdbgapi.c:576:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
: JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsdbgapi.c:1107:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
pd->value = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsdbgapi.c:1150:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
pd->alias = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
8 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsdhash.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsdhash.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsdhash.c:43:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsdhash.c:237:5: warning: unused typedef 'js_static_assert_line_237' [-Wunused-local-typedef]
JS_CEILING_LOG2(log2, capacity);
^
./jsbit.h:91:9: note: expanded from macro 'JS_CEILING_LOG2'
JS_STATIC_ASSERT(sizeof(unsigned int) == sizeof(JSUint32)); \
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:50:1: note: expanded from here
js_static_assert_line_237
^
jsdhash.c:705:9: warning: unused typedef 'js_static_assert_line_705' [-Wunused-local-typedef]
JS_CEILING_LOG2(ceiling, capacity);
^
./jsbit.h:91:9: note: expanded from macro 'JS_CEILING_LOG2'
JS_STATIC_ASSERT(sizeof(unsigned int) == sizeof(JSUint32)); \
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:82:1: note: expanded from here
js_static_assert_line_705
^
4 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsdtoa.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsdtoa.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsdtoa.c:44:
In file included from ./jslibmath.h:49:
In file included from /usr/include/math.h:26:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsemit.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsemit.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsemit.c:48:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsemit.c:1548:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_INT(v) && JSVAL_TO_INT(v) >= 0);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsemit.c:1580:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsemit.c:2715:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_VOID(v)) {
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsemit.c:2737:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_NUMBER(pn3->pn_val) ||
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsemit.c:2743:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(pn3->pn_val)) {
^~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
7 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsexn.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsexn.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsexn.c:46:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsexn.c:371:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(privateValue))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsexn.c:767:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
OBJ_SET_SLOT(cx, obj, JSSLOT_PRIVATE, JSVAL_VOID);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:209:70: note: expanded from macro 'OBJ_SET_SLOT'
#define OBJ_SET_SLOT(cx,obj,slot,value) LOCKED_OBJ_SET_SLOT(obj,slot,value)
^~~~~
./jsobj.h:161:55: note: expanded from macro 'LOCKED_OBJ_SET_SLOT'
(OBJ_CHECK_SLOT(obj, slot), (obj)->slots[slot] = (value))
^~~~~
jsexn.c:1051:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
OBJ_SET_SLOT(cx, protos[i], JSSLOT_PRIVATE, JSVAL_VOID);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:209:70: note: expanded from macro 'OBJ_SET_SLOT'
#define OBJ_SET_SLOT(cx,obj,slot,value) LOCKED_OBJ_SET_SLOT(obj,slot,value)
^~~~~
./jsobj.h:161:55: note: expanded from macro 'LOCKED_OBJ_SET_SLOT'
(OBJ_CHECK_SLOT(obj, slot), (obj)->slots[slot] = (value))
^~~~~
jsexn.c:129:5: warning: unused typedef 'js_static_assert_line_129' [-Wunused-local-typedef]
JS_STATIC_ASSERT(sizeof(JSErrorReport) % sizeof(const char *) == 0);
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:113:1: note: expanded from here
js_static_assert_line_129
^
jsexn.c:130:5: warning: unused typedef 'js_static_assert_line_130' [-Wunused-local-typedef]
JS_STATIC_ASSERT(sizeof(const char *) % sizeof(jschar) == 0);
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:115:1: note: expanded from here
js_static_assert_line_130
^
jsexn.c:240:5: warning: unused typedef 'js_static_assert_line_240' [-Wunused-local-typedef]
JS_STATIC_ASSERT(sizeof(JSStackTraceElem) % sizeof(jsval) == 0);
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:126:1: note: expanded from here
js_static_assert_line_240
^
jsexn.c:430:5: warning: unused typedef 'js_static_assert_line_430' [-Wunused-local-typedef]
JS_STATIC_ASSERT(sizeof(JSAtomState) <= (size_t)(uint16)-1);
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:155:1: note: expanded from here
js_static_assert_line_430
^
9 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsfun.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsfun.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsfun.c:45:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsfun.c:125:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(bmapval)) {
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:164:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(bmapval))
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:203:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:306:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_VOID(bmapval)) {
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:307:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_SetReservedSlot(cx, argsobj, 0, JSVAL_VOID);
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:342:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:371:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:405:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:449:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(id)) {
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:675:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:712:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:739:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_INT(id));
~~~~~~~~~~^~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsfun.c:754:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_INT(id));
~~~~~~~~~~^~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsfun.c:908:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
value = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:982:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsfun.c:1654:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(argv[1]) || JSVAL_IS_VOID(argv[1])) {
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
18 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsgc.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsgc.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsgc.c:52:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsgc.c:317:13: warning: unused typedef 'js_static_assert_line_317' [-Wunused-local-typedef]
JS_STATIC_ASSERT(2 <= sizeof table->array[0]);
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:149:1: note: expanded from here
js_static_assert_line_317
^
3 warnings generated.
gcc -o Linux_All_DBG.OBJ/jshash.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jshash.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jshash.c:44:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsinterp.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsinterp.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsinterp.c:45:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsinterp.c:397:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:611:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(v))
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:656:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PRIMITIVE_TO_OBJECT(cx, vp[1], thisp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:289:20: note: expanded from macro 'PRIMITIVE_TO_OBJECT'
} else if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1109:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
frame.rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1178:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PRIMITIVE_TO_OBJECT(cx, thisv, thisp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:289:20: note: expanded from macro 'PRIMITIVE_TO_OBJECT'
} else if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1214:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_INT(thisv)) {
^~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1326:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH(JSVAL_VOID);
~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:1349:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH(JSVAL_VOID);
~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:1594:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
frame.rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1670:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(id)) {
^~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1879:33: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (ltag == JSVAL_DOUBLE && JSVAL_IS_INT(rval)) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1884:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(lval) && rtag == JSVAL_DOUBLE) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:1984:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(!JSVAL_IS_INT(idval));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsinterp.c:2123:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*result = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2346:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH_OPND(JSVAL_VOID);
~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:158:55: note: expanded from macro 'PUSH_OPND'
#define PUSH_OPND(v) (sp[-depth] = (jsval)pc, PUSH(v))
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:2614:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_ELEMENT_ID(-2, id);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2925:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_ELEMENT_ID(-1, id);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2980:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BITWISE_OP(|);
^~~~~~~~~~~~~
jsinterp.c:2976:33: note: expanded from macro 'BITWISE_OP'
#define BITWISE_OP(OP) INTEGER_OP(OP, (void) 0;)
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2968:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -1, j); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2980:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BITWISE_OP(|);
^~~~~~~~~~~~~
jsinterp.c:2976:33: note: expanded from macro 'BITWISE_OP'
#define BITWISE_OP(OP) INTEGER_OP(OP, (void) 0;)
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2969:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -2, i); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2984:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BITWISE_OP(^);
^~~~~~~~~~~~~
jsinterp.c:2976:33: note: expanded from macro 'BITWISE_OP'
#define BITWISE_OP(OP) INTEGER_OP(OP, (void) 0;)
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2968:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -1, j); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2984:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BITWISE_OP(^);
^~~~~~~~~~~~~
jsinterp.c:2976:33: note: expanded from macro 'BITWISE_OP'
#define BITWISE_OP(OP) INTEGER_OP(OP, (void) 0;)
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2969:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -2, i); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2988:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BITWISE_OP(&);
^~~~~~~~~~~~~
jsinterp.c:2976:33: note: expanded from macro 'BITWISE_OP'
#define BITWISE_OP(OP) INTEGER_OP(OP, (void) 0;)
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2968:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -1, j); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:2988:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BITWISE_OP(&);
^~~~~~~~~~~~~
jsinterp.c:2976:33: note: expanded from macro 'BITWISE_OP'
#define BITWISE_OP(OP) INTEGER_OP(OP, (void) 0;)
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2969:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -2, i); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3119:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(==, JS_FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3089:40: note: expanded from macro 'EQUALITY_OP'
if (JSVAL_IS_NULL(lval) || JSVAL_IS_VOID(lval)) { \
^~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3119:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(==, JS_FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3090:48: note: expanded from macro 'EQUALITY_OP'
cond = (JSVAL_IS_NULL(rval) || JSVAL_IS_VOID(rval)) OP 1; \
^~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3119:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(==, JS_FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3091:47: note: expanded from macro 'EQUALITY_OP'
} else if (JSVAL_IS_NULL(rval) || JSVAL_IS_VOID(rval)) { \
^~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3119:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(==, JS_FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3108:21: note: expanded from macro 'EQUALITY_OP'
VALUE_TO_NUMBER(cx, lval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3119:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(==, JS_FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3109:21: note: expanded from macro 'EQUALITY_OP'
VALUE_TO_NUMBER(cx, rval, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3123:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(!=, JS_TRUE);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3089:40: note: expanded from macro 'EQUALITY_OP'
if (JSVAL_IS_NULL(lval) || JSVAL_IS_VOID(lval)) { \
^~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3123:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(!=, JS_TRUE);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3090:48: note: expanded from macro 'EQUALITY_OP'
cond = (JSVAL_IS_NULL(rval) || JSVAL_IS_VOID(rval)) OP 1; \
^~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3123:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(!=, JS_TRUE);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3091:47: note: expanded from macro 'EQUALITY_OP'
} else if (JSVAL_IS_NULL(rval) || JSVAL_IS_VOID(rval)) { \
^~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3123:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(!=, JS_TRUE);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3108:21: note: expanded from macro 'EQUALITY_OP'
VALUE_TO_NUMBER(cx, lval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3123:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
EQUALITY_OP(!=, JS_TRUE);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3109:21: note: expanded from macro 'EQUALITY_OP'
VALUE_TO_NUMBER(cx, rval, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3170:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<);
^~~~~~~~~~~~~~~~
jsinterp.c:2997:27: note: expanded from macro 'RELATIONAL_OP'
ltmp = lval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3170:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<);
^~~~~~~~~~~~~~~~
jsinterp.c:2998:27: note: expanded from macro 'RELATIONAL_OP'
rtmp = rval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3170:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<);
^~~~~~~~~~~~~~~~
jsinterp.c:3015:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, lval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3170:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<);
^~~~~~~~~~~~~~~~
jsinterp.c:3016:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, rval, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3174:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<=);
^~~~~~~~~~~~~~~~~
jsinterp.c:2997:27: note: expanded from macro 'RELATIONAL_OP'
ltmp = lval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3174:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<=);
^~~~~~~~~~~~~~~~~
jsinterp.c:2998:27: note: expanded from macro 'RELATIONAL_OP'
rtmp = rval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3174:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<=);
^~~~~~~~~~~~~~~~~
jsinterp.c:3015:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, lval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3174:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(<=);
^~~~~~~~~~~~~~~~~
jsinterp.c:3016:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, rval, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3178:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>);
^~~~~~~~~~~~~~~~
jsinterp.c:2997:27: note: expanded from macro 'RELATIONAL_OP'
ltmp = lval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3178:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>);
^~~~~~~~~~~~~~~~
jsinterp.c:2998:27: note: expanded from macro 'RELATIONAL_OP'
rtmp = rval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3178:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>);
^~~~~~~~~~~~~~~~
jsinterp.c:3015:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, lval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3178:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>);
^~~~~~~~~~~~~~~~
jsinterp.c:3016:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, rval, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3182:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>=);
^~~~~~~~~~~~~~~~~
jsinterp.c:2997:27: note: expanded from macro 'RELATIONAL_OP'
ltmp = lval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3182:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>=);
^~~~~~~~~~~~~~~~~
jsinterp.c:2998:27: note: expanded from macro 'RELATIONAL_OP'
rtmp = rval ^ JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3182:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>=);
^~~~~~~~~~~~~~~~~
jsinterp.c:3015:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, lval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3182:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
RELATIONAL_OP(>=);
^~~~~~~~~~~~~~~~~
jsinterp.c:3016:17: note: expanded from macro 'RELATIONAL_OP'
VALUE_TO_NUMBER(cx, rval, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3189:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
SIGNED_SHIFT_OP(<<);
^~~~~~~~~~~~~~~~~~~
jsinterp.c:2977:33: note: expanded from macro 'SIGNED_SHIFT_OP'
#define SIGNED_SHIFT_OP(OP) INTEGER_OP(OP, j &= 31;)
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2968:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -1, j); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3189:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
SIGNED_SHIFT_OP(<<);
^~~~~~~~~~~~~~~~~~~
jsinterp.c:2977:33: note: expanded from macro 'SIGNED_SHIFT_OP'
#define SIGNED_SHIFT_OP(OP) INTEGER_OP(OP, j &= 31;)
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2969:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -2, i); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3193:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
SIGNED_SHIFT_OP(>>);
^~~~~~~~~~~~~~~~~~~
jsinterp.c:2977:33: note: expanded from macro 'SIGNED_SHIFT_OP'
#define SIGNED_SHIFT_OP(OP) INTEGER_OP(OP, j &= 31;)
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2968:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -1, j); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3193:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
SIGNED_SHIFT_OP(>>);
^~~~~~~~~~~~~~~~~~~
jsinterp.c:2977:33: note: expanded from macro 'SIGNED_SHIFT_OP'
#define SIGNED_SHIFT_OP(OP) INTEGER_OP(OP, j &= 31;)
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2969:9: note: expanded from macro 'INTEGER_OP'
FETCH_INT(cx, -2, i); \
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3200:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_INT(cx, -1, j);
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3201:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_UINT(cx, -2, u);
^~~~~~~~~~~~~~~~~~~~~
jsinterp.c:236:13: note: expanded from macro 'FETCH_UINT'
if (JSVAL_IS_INT(v_) && (i_ = JSVAL_TO_INT(v_)) >= 0) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3258:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
VALUE_TO_NUMBER(cx, lval, d);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3259:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
VALUE_TO_NUMBER(cx, rval, d2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3277:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BINARY_OP(-);
^~~~~~~~~~~~
jsinterp.c:3269:9: note: expanded from macro 'BINARY_OP'
FETCH_NUMBER(cx, -1, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3277:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BINARY_OP(-);
^~~~~~~~~~~~
jsinterp.c:3270:9: note: expanded from macro 'BINARY_OP'
FETCH_NUMBER(cx, -2, d); \
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3281:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BINARY_OP(*);
^~~~~~~~~~~~
jsinterp.c:3269:9: note: expanded from macro 'BINARY_OP'
FETCH_NUMBER(cx, -1, d2); \
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3281:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
BINARY_OP(*);
^~~~~~~~~~~~
jsinterp.c:3270:9: note: expanded from macro 'BINARY_OP'
FETCH_NUMBER(cx, -2, d); \
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3285:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_NUMBER(cx, -1, d2);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3286:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_NUMBER(cx, -2, d);
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3309:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_NUMBER(cx, -1, d2);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3310:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_NUMBER(cx, -2, d);
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:216:9: note: expanded from macro 'FETCH_NUMBER'
VALUE_TO_NUMBER(cx, v_, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3330:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_INT(cx, -1, i);
^~~~~~~~~~~~~~~~~~~~
jsinterp.c:222:13: note: expanded from macro 'FETCH_INT'
if (JSVAL_IS_INT(v_)) { \
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3342:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(rval) && (i = JSVAL_TO_INT(rval)) != 0) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3374:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_NUMBER(rval)) {
^~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3434:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ELEMENT_OP(-1, ok = OBJ_DELETE_PROPERTY(cx, obj, id, &rval));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2810:9: note: expanded from macro 'ELEMENT_OP'
FETCH_ELEMENT_ID(n, id); \
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3450:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH_OPND(JSVAL_VOID);
~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:158:55: note: expanded from macro 'PUSH_OPND'
#define PUSH_OPND(v) (sp[-depth] = (jsval)pc, PUSH(v))
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:3486:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_ELEMENT_ID(-1, id);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3501:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
CACHED_GET(OBJ_GET_PROPERTY(cx, obj, id, &rval));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2868:17: note: expanded from macro 'CACHED_GET'
NATIVE_GET(cx, obj, obj, sprop, &rval); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2833:21: note: expanded from macro 'NATIVE_GET'
: JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3509:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(rval) &&
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3510:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
rval != INT_TO_JSVAL(JSVAL_INT_MIN) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3557:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH(JSVAL_VOID);
~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:3565:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
NONINT_INCREMENT_OP_MIDDLE();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3530:9: note: expanded from macro 'NONINT_INCREMENT_OP_MIDDLE'
VALUE_TO_NUMBER(cx, rval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3565:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
NONINT_INCREMENT_OP_MIDDLE();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3533:18: note: expanded from macro 'NONINT_INCREMENT_OP_MIDDLE'
if (!JSVAL_IS_NUMBER(rtmp)) { \
^~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3594:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_ARGNO(pc), nargs, argv, rval, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3596:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_ARGNO(pc), nargs, argv, rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3596:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_ARGNO(pc), nargs, argv, rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:40: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3598:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_ARGNO(pc), nargs, argv, rtmp, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3600:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_ARGNO(pc), nargs, argv, rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3600:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_ARGNO(pc), nargs, argv, rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:40: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3603:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_VARNO(pc), u.i.nvars, vars, rval, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3605:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_VARNO(pc), u.i.nvars, vars, rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3605:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_VARNO(pc), u.i.nvars, vars, rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:40: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3607:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_VARNO(pc), u.i.nvars, vars, rtmp, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3609:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_VARNO(pc), u.i.nvars, vars, rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:10: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3609:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_INCREMENT_OP(GET_VARNO(pc), u.i.nvars, vars, rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3585:40: note: expanded from macro 'FAST_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3621:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
NONINT_INCREMENT_OP_MIDDLE();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3530:9: note: expanded from macro 'NONINT_INCREMENT_OP_MIDDLE'
VALUE_TO_NUMBER(cx, rval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3621:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
NONINT_INCREMENT_OP_MIDDLE();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3533:18: note: expanded from macro 'NONINT_INCREMENT_OP_MIDDLE'
if (!JSVAL_IS_NUMBER(rtmp)) { \
^~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3649:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_GLOBAL_INCREMENT_OP(JSOP_INCNAME, rval, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3640:10: note: expanded from macro 'FAST_GLOBAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3651:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_GLOBAL_INCREMENT_OP(JSOP_DECNAME, rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3640:10: note: expanded from macro 'FAST_GLOBAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3651:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_GLOBAL_INCREMENT_OP(JSOP_DECNAME, rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3640:40: note: expanded from macro 'FAST_GLOBAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3653:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_GLOBAL_INCREMENT_OP(JSOP_NAMEINC, rtmp, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3640:10: note: expanded from macro 'FAST_GLOBAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3655:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_GLOBAL_INCREMENT_OP(JSOP_NAMEDEC, rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3640:10: note: expanded from macro 'FAST_GLOBAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3655:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_GLOBAL_INCREMENT_OP(JSOP_NAMEDEC, rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3640:40: note: expanded from macro 'FAST_GLOBAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3670:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
NONINT_INCREMENT_OP_MIDDLE();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3530:9: note: expanded from macro 'NONINT_INCREMENT_OP_MIDDLE'
VALUE_TO_NUMBER(cx, rval, d); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:252:13: note: expanded from macro 'VALUE_TO_NUMBER'
if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3670:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
NONINT_INCREMENT_OP_MIDDLE();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:3533:18: note: expanded from macro 'NONINT_INCREMENT_OP_MIDDLE'
if (!JSVAL_IS_NUMBER(rtmp)) { \
^~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3691:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
CACHED_GET(OBJ_GET_PROPERTY(cx, obj, id, &rval));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2868:17: note: expanded from macro 'CACHED_GET'
NATIVE_GET(cx, obj, obj, sprop, &rval); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2833:21: note: expanded from macro 'NATIVE_GET'
: JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3713:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ELEMENT_OP(-1, CACHED_GET(OBJ_GET_PROPERTY(cx, obj, id, &rval)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2810:9: note: expanded from macro 'ELEMENT_OP'
FETCH_ELEMENT_ID(n, id); \
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3713:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ELEMENT_OP(-1, CACHED_GET(OBJ_GET_PROPERTY(cx, obj, id, &rval)));
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2868:17: note: expanded from macro 'CACHED_GET'
NATIVE_GET(cx, obj, obj, sprop, &rval); \
^
jsinterp.c:2833:21: note: expanded from macro 'NATIVE_GET'
: JSVAL_VOID; \
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:2820:9: note: expanded from macro 'ELEMENT_OP'
call; \
^~~~
jsinterp.c:3720:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ELEMENT_OP(-2, CACHED_SET(OBJ_SET_PROPERTY(cx, obj, id, &rval)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2810:9: note: expanded from macro 'ELEMENT_OP'
FETCH_ELEMENT_ID(n, id); \
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3728:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_ELEMENT_ID(-1, id);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3750:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (obj == LAZY_ARGS_THISP && !(obj = js_GetArgsObject(cx, fp))) {
^~~~~~~~~~~~~~~
jsinterp.c:3747:39: note: expanded from macro 'LAZY_ARGS_THISP'
#define LAZY_ARGS_THISP ((JSObject *) JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3839:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH(JSVAL_VOID);
~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:3853:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
newifp->frame.rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3870:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PRIMITIVE_TO_OBJECT(cx, vp[1], obj2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:289:20: note: expanded from macro 'PRIMITIVE_TO_OBJECT'
} else if (JSVAL_IS_INT(v)) { \
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:3890:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH(JSVAL_VOID);
~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:3968:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ELEMENT_OP(-1, ok = OBJ_GET_PROPERTY(cx, obj, id, &rval));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2810:9: note: expanded from macro 'ELEMENT_OP'
FETCH_ELEMENT_ID(n, id); \
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4015:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
PUSH_OPND(JSVAL_VOID);
~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:158:55: note: expanded from macro 'PUSH_OPND'
#define PUSH_OPND(v) (sp[-depth] = (jsval)pc, PUSH(v))
^
jsinterp.c:131:35: note: expanded from macro 'PUSH'
#define PUSH(v) (*sp++ = (v))
^
jsinterp.c:4032:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
NATIVE_GET(cx, obj, obj2, sprop, &rval);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2833:21: note: expanded from macro 'NATIVE_GET'
: JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4186:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(rval))
^~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4318:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(rval))
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4341:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_NUMBER(lval) &&
^~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4395:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(rval))
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4418:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_NUMBER(lval) &&
^~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4500:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ok = OBJ_DEFINE_PROPERTY(cx, obj, id, JSVAL_VOID, NULL, NULL,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsinterp.c:4515:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
id = (jsid) JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4529:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ELEMENT_OP(-1, ok = ImportProperty(cx, obj, id));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2810:9: note: expanded from macro 'ELEMENT_OP'
FETCH_ELEMENT_ID(n, id); \
^~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4541:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_INT(rval));
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsinterp.c:4583:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
obj = LAZY_ARGS_THISP;
^~~~~~~~~~~~~~~
jsinterp.c:3747:39: note: expanded from macro 'LAZY_ARGS_THISP'
#define LAZY_ARGS_THISP ((JSObject *) JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4695:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ok = OBJ_DEFINE_PROPERTY(cx, obj, id, JSVAL_VOID, NULL, NULL,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsinterp.c:4800:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:4989:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5068:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5118:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_ELEMENT_ID(-2, id);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5135:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_ELEMENT_ID(-2, id);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5185:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
ok = OBJ_DEFINE_PROPERTY(cx, obj, id, JSVAL_VOID, getter, setter,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsinterp.c:5231:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FETCH_ELEMENT_ID(-2, id);
^~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2590:13: note: expanded from macro 'FETCH_ELEMENT_ID'
if (JSVAL_IS_INT(idval_)) { \
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5285:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5379:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_INT(rval));
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsinterp.c:5751:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
CACHED_GET(OBJ_GET_PROPERTY(cx, obj, id, &rval));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2868:17: note: expanded from macro 'CACHED_GET'
NATIVE_GET(cx, obj, obj, sprop, &rval); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2833:21: note: expanded from macro 'NATIVE_GET'
: JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5756:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_NUMBER(lval)) {
^~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5761:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_NULL(lval) || JSVAL_IS_VOID(lval));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsinterp.c:5777:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
CACHED_GET(OBJ_GET_PROPERTY(cx, obj, id, &rval));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2868:17: note: expanded from macro 'CACHED_GET'
NATIVE_GET(cx, obj, obj, sprop, &rval); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:2833:21: note: expanded from macro 'NATIVE_GET'
: JSVAL_VOID; \
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5823:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
STORE_OPND(0, JSVAL_VOID);
~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
jsinterp.c:159:62: note: expanded from macro 'STORE_OPND'
#define STORE_OPND(n,v) (sp[(n)-depth] = (jsval)pc, sp[n] = (v))
^
jsinterp.c:5936:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_LOCAL_INCREMENT_OP(rval, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:5928:10: note: expanded from macro 'FAST_LOCAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5940:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_LOCAL_INCREMENT_OP(rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:5928:10: note: expanded from macro 'FAST_LOCAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5940:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_LOCAL_INCREMENT_OP(rval, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:5928:40: note: expanded from macro 'FAST_LOCAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5944:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_LOCAL_INCREMENT_OP(rtmp, +=, MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:5928:10: note: expanded from macro 'FAST_LOCAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5948:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_LOCAL_INCREMENT_OP(rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:5928:10: note: expanded from macro 'FAST_LOCAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:5948:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
FAST_LOCAL_INCREMENT_OP(rtmp, -=, MIN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsinterp.c:5928:40: note: expanded from macro 'FAST_LOCAL_INCREMENT_OP'
if (!JSVAL_IS_INT(rval) || rval == INT_TO_JSVAL(JSVAL_INT_##MINMAX)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsinterp.c:6157:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
fp->rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
146 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsiter.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsiter.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsiter.c:45:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsiter.c:404:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(*vp)) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsiter.c:627:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
cx->exception = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsiter.c:925:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
return SendToGenerator(cx, JSGENOP_CLOSE, gen->obj, gen, JSVAL_VOID, NULL);
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsiter.c:956:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_VOID(argv[0])) {
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsiter.c:1008:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
: JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
7 warnings generated.
gcc -o Linux_All_DBG.OBJ/jslock.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jslock.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
1 warning generated.
gcc -o Linux_All_DBG.OBJ/jslog2.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jslog2.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jslog2.c:40:
In file included from ./jsbit.h:42:
In file included from ./jstypes.h:416:
In file included from ./jsotypes.h:71:
In file included from /usr/include/sys/types.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jslog2.c:50:5: warning: unused typedef 'js_static_assert_line_50' [-Wunused-local-typedef]
JS_CEILING_LOG2(log2, n);
^
./jsbit.h:91:9: note: expanded from macro 'JS_CEILING_LOG2'
JS_STATIC_ASSERT(sizeof(unsigned int) == sizeof(JSUint32)); \
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:30:1: note: expanded from here
js_static_assert_line_50
^
3 warnings generated.
gcc -o Linux_All_DBG.OBJ/jslong.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jslong.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jslong.c:40:
In file included from ./jstypes.h:416:
In file included from ./jsotypes.h:71:
In file included from /usr/include/sys/types.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsmath.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsmath.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsmath.c:44:
In file included from ./jslibmath.h:49:
In file included from /usr/include/math.h:26:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsnum.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsnum.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsnum.c:48:
In file included from /usr/include/locale.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsnum.c:204:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NUMBER((jsval)obj)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:210:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_NUMBER(v));
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsnum.c:212:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
d = JSVAL_IS_INT(v) ? (jsdouble)JSVAL_TO_INT(v) : *JSVAL_TO_DOUBLE(v);
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:263:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NUMBER((jsval)obj)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:269:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_NUMBER(v));
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsnum.c:271:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
d = JSVAL_IS_INT(v) ? (jsdouble)JSVAL_TO_INT(v) : *JSVAL_TO_DOUBLE(v);
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:399:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NUMBER((jsval)obj)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:421:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NUMBER((jsval)obj)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:427:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_NUMBER(v));
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsnum.c:429:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
d = JSVAL_IS_INT(v) ? (jsdouble)JSVAL_TO_INT(v) : *JSVAL_TO_DOUBLE(v);
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:431:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(argv[0])) {
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:738:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(v)) {
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsnum.c:836:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(v)) {
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
15 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsobj.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsobj.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsobj.c:45:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsobj.c:247:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(num_properties)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:1666:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
return OBJ_DEFINE_PROPERTY(cx, obj, id, JSVAL_VOID,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsobj.c:1698:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
return OBJ_DEFINE_PROPERTY(cx, obj, id, JSVAL_VOID,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~~~~
jsobj.c:1803:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(!argc || JSVAL_IS_NULL(argv[0]) || JSVAL_IS_VOID(argv[0]));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsobj.c:2028:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:2048:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:2184:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JSVAL_VOID, NULL, NULL,
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:2335:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
newslots[i] = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:2480:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
newslots[i] = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:2600:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:2627:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:2805:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
obj->slots[slot] = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:3453:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
: JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:3506:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
pval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:3548:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:3557:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(*vp) && cx->fp && (pc = cx->fp->pc)) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:3766:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
LOCKED_OBJ_SET_SLOT(obj, sprop->slot, JSVAL_VOID);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:161:55: note: expanded from macro 'LOCKED_OBJ_SET_SLOT'
(OBJ_CHECK_SLOT(obj, slot), (obj)->slots[slot] = (value))
^~~~~
jsobj.c:4224:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:4240:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
: JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:4573:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v)) {
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:4584:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_INT(v)) {
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:4649:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
fval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:4896:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
obj->slots[i] = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:4908:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
v = (slot < (uint32) obj->slots[-1]) ? obj->slots[slot] : JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:5008:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_VOID(val)) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsobj.c:5012:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_INT(val)) {
^~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
28 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsopcode.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsopcode.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsopcode.c:49:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsopcode.c:861:28: warning: comparison of constant 256 with expression of type 'JSOp' (aka 'enum JSOp') is always false [-Wtautological-constant-out-of-range-compare]
ss->opcodes[top] = (op == JSOP_GETPROP2) ? JSOP_GETPROP
~~ ^ ~~~~~~~~~~~~~
jsopcode.c:862:28: warning: comparison of constant 257 with expression of type 'JSOp' (aka 'enum JSOp') is always false [-Wtautological-constant-out-of-range-compare]
: (op == JSOP_GETELEM2) ? JSOP_GETELEM
~~ ^ ~~~~~~~~~~~~~
jsopcode.c:999:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
key = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsopcode.c:1697:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(0);
^~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1706:24: warning: case value not in enumerated type 'JSOp' (aka 'enum JSOp') [-Wswitch]
case JSOP_GETPROP2:
^
jsopcode.c:840:25: note: expanded from macro 'JSOP_GETPROP2'
#define JSOP_GETPROP2 256
^
jsopcode.c:1709:24: warning: case value not in enumerated type 'JSOp' (aka 'enum JSOp') [-Wswitch]
case JSOP_GETELEM2:
^
jsopcode.c:841:25: note: expanded from macro 'JSOP_GETELEM2'
#define JSOP_GETELEM2 257
^
jsopcode.c:1715:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(js_CodeSpec[saveop].length == oplen);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1731:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(op != saveop);
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1744:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(op == JSOP_ADD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1798:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(tail + GetJumpOffset(pc+tail, pc+tail) == 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1861:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(ATOM_IS_OBJECT(atom));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1927:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(ss->top != 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1944:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_SETSP);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1981:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(strcmp(rval, retsub_pc_cookie) == 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:1983:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(strcmp(lval, exception_cookie) == 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2017:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(newtop <= oldtop);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2083:37: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(pc[len] == JSOP_LEAVEBLOCK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2129:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(JS_FALSE);
^~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2202:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(pc[len] == JSOP_LEAVEBLOCKEXPR);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2268:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(!js_GetSrcNote(jp->script, pc));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2281:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(strcmp(rval, with_cookie) == 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2306:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(sprop->shortid < argc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2341:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_EXCEPTION);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2351:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(js_GetSrcNoteOffset(sn, 0) != 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2362:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_POP);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2368:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_SETLOCALPOP);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2384:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(len > 0);
^~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2391:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_IFEQ || *pc == JSOP_IFEQX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2419:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(SN_TYPE(sn) == SRC_PCBASE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2422:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(op == JSOP_LEAVEBLOCK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2425:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(SN_TYPE(sn) == SRC_CATCH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2426:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT((uintN)js_GetSrcNoteOffset(sn, 0) == ss->top);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2430:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(top >= depth);
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2442:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT((uintN)i < ss->top);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2450:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_SETSP);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2521:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(pos != 0);
^~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2529:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(ss->opcodes[pos] == JSOP_NEWINIT);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2532:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(ss->sprinter.base[start] == '[' ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2536:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(pos < ss->top);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2537:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(pos < ss->top);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2613:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(SN_TYPE(sn) == SRC_IF);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2626:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(!ss->inArrayInit);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2631:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_GOTO || *pc == JSOP_GOTOX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2687:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_GOTO || *pc == JSOP_GOTOX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2752:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2757:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2785:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_IFEQ || *pc == JSOP_IFEQX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2825:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*xval != '\0');
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2862:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc == JSOP_IFEQ || *pc == JSOP_IFEQX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2872:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(!forelem_tail);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2887:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(!forelem_done);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2909:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(strcmp(rval, forelem_cookie) == 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2910:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(forelem_tail > pc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2913:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(forelem_done > pc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2936:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(SN_TYPE(sn) == SRC_DESTRUCT);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2946:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(forelem_tail > pc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2949:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(forelem_done > pc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2978:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:2983:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3022:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*rval != '\0');
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3051:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(ss->top >= 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3148:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3154:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3210:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3216:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3405:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(atom);
^~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3480:43: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
default: LOCAL_ASSERT(0);
^~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3547:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(sn && SN_TYPE(sn) == SRC_SWITCH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3574:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(SN_TYPE(sn) == SRC_LABEL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3608:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(sn && SN_TYPE(sn) == SRC_SWITCH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3625:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(SN_TYPE(sn) == SRC_LABEL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3656:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(sn && SN_TYPE(sn) == SRC_SWITCH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3668:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc2 == JSOP_CASE || *pc2 == JSOP_DEFAULT ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3675:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(sn && SN_TYPE(sn) == SRC_PCDELTA);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3693:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(*pc2 == JSOP_CASE || *pc2 == JSOP_DEFAULT ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3700:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(sn && SN_TYPE(sn) == SRC_PCDELTA);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3743:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(ATOM_IS_OBJECT(atom));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3807:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(ss->top >= 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3890:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'jsbytecode *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
LOCAL_ASSERT(rval[strlen(rval)-1] == '}');
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1556:33: note: expanded from macro 'LOCAL_ASSERT'
#define LOCAL_ASSERT(expr) LOCAL_ASSERT_RV(expr, JS_FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jsopcode.c:1095:29: note: expanded from macro 'LOCAL_ASSERT_RV'
if (!(expr)) return (rv); \
^~~~
jsopcode.c:3268:20: warning: case value not in enumerated type 'JSOp' (aka 'enum JSOp') [-Wswitch]
case JSOP_GETPROP2:
^
jsopcode.c:840:25: note: expanded from macro 'JSOP_GETPROP2'
#define JSOP_GETPROP2 256
^
jsopcode.c:3331:20: warning: case value not in enumerated type 'JSOp' (aka 'enum JSOp') [-Wswitch]
case JSOP_GETELEM2:
^
jsopcode.c:841:25: note: expanded from macro 'JSOP_GETELEM2'
#define JSOP_GETELEM2 257
^
jsopcode.c:3487:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_INT(val)) {
^~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
84 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsparse.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsparse.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsparse.c:55:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsparse.c:1721:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JSVAL_VOID, NULL, NULL,
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
3 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsprf.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsprf.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsprf.c:46:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsregexp.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsregexp.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsregexp.c:45:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsregexp.c:3425:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JSVAL_VOID, NULL, NULL,
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsregexp.c:3512:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsregexp.c:3548:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsregexp.c:3606:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsregexp.c:3645:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsregexp.c:3896:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (argc >= 2 && !JSVAL_IS_VOID(argv[1])) { /* 'flags' passed */
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsregexp.c:3917:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(argv[1])) {
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsregexp.c:4092:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if ((argc < 2 || JSVAL_IS_VOID(argv[1])) &&
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
10 warnings generated.
gcc -o Linux_All_DBG.OBJ/jskwgen.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jskwgen.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jskwgen.c:42:
In file included from /usr/include/assert.h:35:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jskwgen -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ -lm Linux_All_DBG.OBJ/jskwgen.o
Linux_All_DBG.OBJ/jskwgen Linux_All_DBG.OBJ/jsautokw.h
gcc -o Linux_All_DBG.OBJ/jsscan.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsscan.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsscan.c:45:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsscope.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsscope.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsscope.c:45:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsscript.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsscript.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsscript.c:45:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsscript.c:286:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
oldscript = !JSVAL_IS_VOID(v) ? (JSScript *) JSVAL_TO_PRIVATE(v) : NULL;
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
3 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsstr.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsstr.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsstr.c:52:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsstr.c:522:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsstr.c:579:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id) || (flags & JSRESOLVE_ASSIGNING))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsstr.c:1185:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
: INT_TO_JSVAL(-1);
^~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsstr.c:1467:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*sp++ = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsstr.c:1856:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
limited = (argc > 1) && !JSVAL_IS_VOID(argv[1]);
^~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsstr.c:2686:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_INT(v)) {
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
8 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsutil.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsutil.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsutil.c:45:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsxdrapi.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsxdrapi.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsxdrapi.c:44:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsxdrapi.c:534:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxdrapi.c:600:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
else if (JSVAL_IS_VOID(*vp))
^~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
4 warnings generated.
gcc -o Linux_All_DBG.OBJ/jsxml.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jsxml.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from jsxml.c:45:
In file included from /usr/include/math.h:26:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
jsxml.c:156:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:166:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = ns->prefix ? STRING_TO_JSVAL(ns->prefix) : JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:362:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_INT(id))
^~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:799:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_VOID(prefixval)) {
^~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:811:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_VOID(prefixval) || !js_IsXMLName(cx, prefixval)) {
^~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:890:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (argc == 1 || JSVAL_IS_VOID(nsval)) {
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:1307:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
JS_ASSERT(JSVAL_IS_INT(id));
~~~~~~~~~~^~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
^~~~~
jsxml.c:1874:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:2078:33: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v))
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:2163:33: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v))
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:2529:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
argv[0] = qn->prefix ? STRING_TO_JSVAL(qn->prefix) : JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:3032:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v)) {
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:3041:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_BOOLEAN(v) || JSVAL_IS_NUMBER(v))
^~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:3713:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(v) && xml->xml_kids.length == 0)
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:4107:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = (index == 0) ? OBJECT_TO_JSVAL(obj) : JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:4119:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:4128:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:4735:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
id = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:4745:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_VOID(id)) {
^~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:4780:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(id)) {
^~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5138:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (id == JS_DEFAULT_XML_NAMESPACE_ID) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:1118:45: note: expanded from macro 'JS_DEFAULT_XML_NAMESPACE_ID'
#define JS_DEFAULT_XML_NAMESPACE_ID ((jsid) JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5139:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5398:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*vp = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5483:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
} else if (JSVAL_IS_STRING(v) || JSVAL_IS_NUMBER(v)) {
^~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5492:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
d2 = JSVAL_IS_INT(v) ? JSVAL_TO_INT(v)
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5773:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5777:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5815:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(v)) {
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:5834:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(*rval) && !xml_list_helper(cx, xml, rval))
^~~~~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:6433:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:6623:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
*rval = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:6882:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
id = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:6888:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!JSVAL_IS_VOID(id) && !DeleteByIndex(cx, xml, id, &junk))
^~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:6894:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_VOID(id))
^~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:7282:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NUMBER(v) && !JS_SetProperty(cx, to, name, &v))
^~~~~~~~~~~~~~~~~~
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v) (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v) (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:7323:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v)) {
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:7367:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v))
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:7401:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (JSVAL_IS_NULL(v) || JSVAL_IS_VOID(v))
^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v) ((v) == JSVAL_VOID)
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:7708:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
argv[0] = JSVAL_VOID;
^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
~~~~~~~~~~ ^
jsxml.c:7830:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!OBJ_GET_PROPERTY(cx, obj, JS_DEFAULT_XML_NAMESPACE_ID, &v))
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:1118:45: note: expanded from macro 'JS_DEFAULT_XML_NAMESPACE_ID'
#define JS_DEFAULT_XML_NAMESPACE_ID ((jsid) JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:70:41: note: expanded from macro 'OBJ_GET_PROPERTY'
(obj)->map->ops->getProperty(cx,obj,id,vp)
^~
jsxml.c:7844:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
!OBJ_DEFINE_PROPERTY(cx, obj, JS_DEFAULT_XML_NAMESPACE_ID, v,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:1118:45: note: expanded from macro 'JS_DEFAULT_XML_NAMESPACE_ID'
#define JS_DEFAULT_XML_NAMESPACE_ID ((jsid) JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:44: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~
jsxml.c:7872:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (!OBJ_DEFINE_PROPERTY(cx, varobj, JS_DEFAULT_XML_NAMESPACE_ID, v,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:1118:45: note: expanded from macro 'JS_DEFAULT_XML_NAMESPACE_ID'
#define JS_DEFAULT_XML_NAMESPACE_ID ((jsid) JSVAL_VOID)
^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i) (((jsval)(i) << 1) | JSVAL_INT)
^
./jsobj.h:68:44: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
(obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
^~
jsxml.c:1153:17: warning: unused typedef 'js_static_assert_line_1153' [-Wunused-local-typedef]
JS_CEILING_LOG2(log2, capacity);
^
./jsbit.h:91:9: note: expanded from macro 'JS_CEILING_LOG2'
JS_STATIC_ASSERT(sizeof(unsigned int) == sizeof(JSUint32)); \
^
./jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
./jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
./jsutil.h:76:17: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^
:84:1: note: expanded from here
js_static_assert_line_1153
^
45 warnings generated.
gcc -o Linux_All_DBG.OBJ/prmjtime.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ prmjtime.c
In file included from :319:
:10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
#define VA_COPY va_copy
^
:2:9: note: previous definition is here
#define VA_COPY __va_copy
^
In file included from prmjtime.c:47:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
2 warnings generated.
ar rv Linux_All_DBG.OBJ/libjs.a Linux_All_DBG.OBJ/jsapi.o Linux_All_DBG.OBJ/jsarena.o Linux_All_DBG.OBJ/jsarray.o Linux_All_DBG.OBJ/jsatom.o Linux_All_DBG.OBJ/jsbool.o Linux_All_DBG.OBJ/jscntxt.o Linux_All_DBG.OBJ/jsdate.o Linux_All_DBG.OBJ/jsdbgapi.o Linux_All_DBG.OBJ/jsdhash.o Linux_All_DBG.OBJ/jsdtoa.o Linux_All_DBG.OBJ/jsemit.o Linux_All_DBG.OBJ/jsexn.o Linux_All_DBG.OBJ/jsfun.o Linux_All_DBG.OBJ/jsgc.o Linux_All_DBG.OBJ/jshash.o Linux_All_DBG.OBJ/jsinterp.o Linux_All_DBG.OBJ/jsiter.o Linux_All_DBG.OBJ/jslock.o Linux_All_DBG.OBJ/jslog2.o Linux_All_DBG.OBJ/jslong.o Linux_All_DBG.OBJ/jsmath.o Linux_All_DBG.OBJ/jsnum.o Linux_All_DBG.OBJ/jsobj.o Linux_All_DBG.OBJ/jsopcode.o Linux_All_DBG.OBJ/jsparse.o Linux_All_DBG.OBJ/jsprf.o Linux_All_DBG.OBJ/jsregexp.o Linux_All_DBG.OBJ/jsscan.o Linux_All_DBG.OBJ/jsscope.o Linux_All_DBG.OBJ/jsscript.o Linux_All_DBG.OBJ/jsstr.o Linux_All_DBG.OBJ/jsutil.o Linux_All_DBG.OBJ/jsxdrapi.o Linux_All_DBG.OBJ/jsxml.o Linux_All_DBG.OBJ/prmjtime.o
ar: creating Linux_All_DBG.OBJ/libjs.a
a - Linux_All_DBG.OBJ/jsapi.o
a - Linux_All_DBG.OBJ/jsarena.o
a - Linux_All_DBG.OBJ/jsarray.o
a - Linux_All_DBG.OBJ/jsatom.o
a - Linux_All_DBG.OBJ/jsbool.o
a - Linux_All_DBG.OBJ/jscntxt.o
a - Linux_All_DBG.OBJ/jsdate.o
a - Linux_All_DBG.OBJ/jsdbgapi.o
a - Linux_All_DBG.OBJ/jsdhash.o
a - Linux_All_DBG.OBJ/jsdtoa.o
a - Linux_All_DBG.OBJ/jsemit.o
a - Linux_All_DBG.OBJ/jsexn.o
a - Linux_All_DBG.OBJ/jsfun.o
a - Linux_All_DBG.OBJ/jsgc.o
a - Linux_All_DBG.OBJ/jshash.o
a - Linux_All_DBG.OBJ/jsinterp.o
a - Linux_All_DBG.OBJ/jsiter.o
a - Linux_All_DBG.OBJ/jslock.o
a - Linux_All_DBG.OBJ/jslog2.o
a - Linux_All_DBG.OBJ/jslong.o
a - Linux_All_DBG.OBJ/jsmath.o
a - Linux_All_DBG.OBJ/jsnum.o
a - Linux_All_DBG.OBJ/jsobj.o
a - Linux_All_DBG.OBJ/jsopcode.o
a - Linux_All_DBG.OBJ/jsparse.o
a - Linux_All_DBG.OBJ/jsprf.o
a - Linux_All_DBG.OBJ/jsregexp.o
a - Linux_All_DBG.OBJ/jsscan.o
a - Linux_All_DBG.OBJ/jsscope.o
a - Linux_All_DBG.OBJ/jsscript.o
a - Linux_All_DBG.OBJ/jsstr.o
a - Linux_All_DBG.OBJ/jsutil.o
a - Linux_All_DBG.OBJ/jsxdrapi.o
a - Linux_All_DBG.OBJ/jsxml.o
a - Linux_All_DBG.OBJ/prmjtime.o
echo Linux_All_DBG.OBJ/libjs.a
Linux_All_DBG.OBJ/libjs.a
make[2]: Leaving directory '/tmp/pacparser/src/pacparser/src/spidermonkey/js/src'
find js/src -name "jsautocfg.h" -exec cp {} js/src \;
touch js-buildstamp
make[1]: Leaving directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
touch jsapi_buildstamp
clang -g -DXP_UNIX -Wall -DVERSION=1.3.6 -Ispidermonkey/js/src -fPIC -c pacparser.c -o pacparser.o
touch pymod/pacparser_o_buildstamp
cd spidermonkey && SMCFLAGS="-fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy" make jslib
make[1]: Entering directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
cd js/src
find . -name "libjs.a" -exec cp {} .. \;
make[1]: Leaving directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
clang -shared -g -DXP_UNIX -Wall -DVERSION=1.3.6 -Ispidermonkey/js/src -Wl,-soname=libpacparser.so.1 -Wl,-exclude-libs=libjs.a -o libpacparser.so.1 pacparser.o libjs.a -lm
ln -sf libpacparser.so.1 libpacparser.so
clang -g -DXP_UNIX -Wall -DVERSION=1.3.6 -Ispidermonkey/js/src pactester.c -o pactester -lpacparser -L. -I.
echo "Running tests for pactester."
Running tests for pactester.
NO_INTERNET= ../tests/runtests.sh
All tests were successful.
cd pymod && ARCHFLAGS="" python2 setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pacparser
copying pacparser/__init__.py -> build/lib.linux-x86_64-2.7/pacparser
running build_ext
building '_pacparser' extension
creating build/temp.linux-x86_64-2.7
clang -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -DXP_UNIX -Wall -DVERSION=1.3.6 -Ispidermonkey/js/src -fPIC -I../spidermonkey/js/src -I.. -I/usr/include/python2.7 -c pacparser_py.c -o build/temp.linux-x86_64-2.7/pacparser_py.o
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -g -DXP_UNIX -Wall -DVERSION=1.3.6 -Ispidermonkey/js/src build/temp.linux-x86_64-2.7/pacparser_py.o ../pacparser.o ../libjs.a -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/pacparser/_pacparser.so
python2 ../tests/runtests.py
All tests were successful.
make: Leaving directory '/tmp/pacparser/src/pacparser/src'
==> Entering fakeroot environment...
==> Starting package_pacparser()...
make: Entering directory '/tmp/pacparser/src/pacparser/src'
echo "Running tests for pactester."
Running tests for pactester.
NO_INTERNET= ../tests/runtests.sh
All tests were successful.
install -d /tmp/pacparser/pkg/pacparser//usr/lib /tmp/pacparser/pkg/pacparser//usr/include /tmp/pacparser/pkg/pacparser//usr/bin
install -m 644 libpacparser.so.1 /tmp/pacparser/pkg/pacparser//usr/lib/libpacparser.so.1
ln -sf libpacparser.so.1 /tmp/pacparser/pkg/pacparser//usr/lib/libpacparser.so
install -m 755 pactester /tmp/pacparser/pkg/pacparser//usr/bin/pactester
install -m 644 pacparser.h /tmp/pacparser/pkg/pacparser//usr/include/pacparser.h
# install pactester manpages
install -d /tmp/pacparser/pkg/pacparser//usr/share/man/man1/
(test -d ../docs && install -m 644 ../docs/man/man1/*.1 /tmp/pacparser/pkg/pacparser//usr/share/man/man1/) || true
# install pacparser manpages
install -d /tmp/pacparser/pkg/pacparser//usr/share/man/man3/
(test -d ../docs && install -m 644 ../docs/man/man3/*.3 /tmp/pacparser/pkg/pacparser//usr/share/man/man3/) || true
# install html docs
install -d /tmp/pacparser/pkg/pacparser//usr/share/doc/pacparser/html/
(test -d ../docs/html && install -m 644 ../docs/html/* /tmp/pacparser/pkg/pacparser//usr/share/doc/pacparser/html/) || true
# install examples
install -d /tmp/pacparser/pkg/pacparser//usr/share/doc/pacparser/examples/
(test -d ../examples && install -m 644 ../examples/* /tmp/pacparser/pkg/pacparser//usr/share/doc//pacparser/examples/) || true
make: Leaving directory '/tmp/pacparser/src/pacparser/src'
==> Tidying install...
-> Removing doc files...
-> Purging unwanted files...
==> Checking for packaging issue...
==> Creating package "pacparser"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_python2-pacparser()...
make: Entering directory '/tmp/pacparser/src/pacparser/src'
cd pymod && ARCHFLAGS="" python2 setup.py build
running build
running build_py
running build_ext
python2 ../tests/runtests.py
All tests were successful.
cd pymod && ARCHFLAGS="" python2 setup.py install --root="/tmp/pacparser/pkg/python2-pacparser//"
running install
running build
running build_py
running build_ext
running install_lib
creating /tmp/pacparser/pkg/python2-pacparser/usr
creating /tmp/pacparser/pkg/python2-pacparser/usr/lib
creating /tmp/pacparser/pkg/python2-pacparser/usr/lib/python2.7
creating /tmp/pacparser/pkg/python2-pacparser/usr/lib/python2.7/site-packages
creating /tmp/pacparser/pkg/python2-pacparser/usr/lib/python2.7/site-packages/pacparser
copying build/lib.linux-x86_64-2.7/pacparser/__init__.py -> /tmp/pacparser/pkg/python2-pacparser//usr/lib/python2.7/site-packages/pacparser
copying build/lib.linux-x86_64-2.7/pacparser/_pacparser.so -> /tmp/pacparser/pkg/python2-pacparser//usr/lib/python2.7/site-packages/pacparser
copying build/lib.linux-x86_64-2.7/pacparser/__init__.pyc -> /tmp/pacparser/pkg/python2-pacparser//usr/lib/python2.7/site-packages/pacparser
running install_egg_info
Writing /tmp/pacparser/pkg/python2-pacparser//usr/lib/python2.7/site-packages/pacparser-1-py2.7.egg-info
make: Leaving directory '/tmp/pacparser/src/pacparser/src'
==> Tidying install...
-> Removing doc files...
-> Purging unwanted files...
==> Checking for packaging issue...
==> Creating package "python2-pacparser"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pacparser 1.3.6-1 (Thu Apr 13 14:10:57 UTC 2017)
CMD: pacman --query --file pacparser-1.3.6-1-x86_64.pkg.tar.xz
Creating hybrid package for 'pacparser'
Trying to find vanilla package 'pacparser'...
CMD: pacman --query --file /mirror/python2-pacparser-1.3.6-1.pkg.tar.xz
CMD: pacman --query --file /mirror/pacparser-1.3.6-1.pkg.tar.xz
Package file has the following structure:
/.PKGINFO
/.MTREE
/usr/lib/libpacparser.so
/usr/lib/libpacparser.so.1
/usr/include/pacparser.h
/usr/bin/pactester
/usr/share/man/man1/pactester.1.gz
/usr/share/man/man3/pacparser.3.gz
/usr/share/man/man3/pacparser_cleanup.3.gz
/usr/share/man/man3/pacparser_enable_microsoft_extensions.3.gz
/usr/share/man/man3/pacparser_error_printer.3.gz
/usr/share/man/man3/pacparser_find_proxy.3.gz
/usr/share/man/man3/pacparser_init.3.gz
/usr/share/man/man3/pacparser_just_find_proxy.3.gz
/usr/share/man/man3/pacparser_parse_pac.3.gz
/usr/share/man/man3/pacparser_parse_pac_file.3.gz
/usr/share/man/man3/pacparser_parse_pac_string.3.gz
/usr/share/man/man3/pacparser_set_error_printer.3.gz
/usr/share/man/man3/pacparser_setmyip.3.gz
/usr/share/man/man3/pacparser_version.3.gz
/usr/share/doc/pacparser/html/doxygen.css
/usr/share/doc/pacparser/html/pacparser.html
/usr/share/doc/pacparser/html/pactester.1.html
/usr/share/doc/pacparser/examples/fetchurl.py
/usr/share/doc/pacparser/examples/pactest.c
/usr/share/doc/pacparser/examples/pactest.py
/usr/share/doc/pacparser/examples/wpad.dat
/sysroot/usr/lib/libpacparser.so.1
/sysroot/usr/lib/libpacparser.so
/sysroot/usr/include/pacparser.h
Generating .MTREE
CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot
Tar-ing up files
CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE
CMD: xz -c -z
Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z
CMD: bsdtar -tqf pacparser.pkg.tar.xz .PKGINFO
Created package at path /var/cache/pacman/pkg/pacparser.pkg.tar.xz
CMD: pacman --query --file python2-pacparser-1.3.6-1-x86_64.pkg.tar.xz
Creating hybrid package for 'python2-pacparser'
Trying to find vanilla package 'python2-pacparser'...
CMD: pacman --query --file /mirror/python2-pacparser-1.3.6-1.pkg.tar.xz
Package file has the following structure:
/.PKGINFO
/.MTREE
/usr/lib/python2.7/site-packages/pacparser-1-py2.7.egg-info
/usr/lib/python2.7/site-packages/pacparser/__init__.py
/usr/lib/python2.7/site-packages/pacparser/__init__.pyc
/usr/lib/python2.7/site-packages/pacparser/_pacparser.so
/sysroot/usr/lib/python2.7/site-packages/pacparser-1-py2.7.egg-info
/sysroot/usr/lib/python2.7/site-packages/pacparser/__init__.py
/sysroot/usr/lib/python2.7/site-packages/pacparser/_pacparser.so
/sysroot/usr/lib/python2.7/site-packages/pacparser/__init__.pyc
Generating .MTREE
CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot
Tar-ing up files
CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE
CMD: xz -c -z
Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z
CMD: bsdtar -tqf python2-pacparser.pkg.tar.xz .PKGINFO
Created package at path /var/cache/pacman/pkg/python2-pacparser.pkg.tar.xz
Attempting to access local repository, attempt 1
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/pacparser.pkg.tar.xz
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> Adding package '/var/cache/pacman/pkg/pacparser.pkg.tar.xz'
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'
Attempting to access local repository, attempt 1
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/python2-pacparser.pkg.tar.xz
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> Adding package '/var/cache/pacman/pkg/python2-pacparser.pkg.tar.xz'
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'