Open pm0u opened 5 years ago
node v12.3.1 on osx
npm i node-expat
> node-expat@2.3.17 install /Users/willin/Documents/class-go/classgo-server/node_modules/node-expat
> node-gyp rebuild
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
LIBTOOL-STATIC Release/libexpat.a
CXX(target) Release/obj.target/node_expat/node-expat.o
../node-expat.cc:11:26: error: no template named 'Handle'
static void Initialize(Handle<Object> target)
^
../node-expat.cc:481:23: error: no template named 'Handle'
void Emit(int argc, Handle<Value> argv[])
^
../node-expat.cc:29:69: error: too few arguments to function call, single
argument 'context' was not specified
target->Set(Nan::New("Parser").ToLocalChecked(), t->GetFunction());
~~~~~~~~~~~~~~ ^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:5947:3: note: 'GetFunction'
declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^
/Users/willin/.node-gyp/12.3.1/include/node/v8config.h:347:31: note: expanded
from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../node-expat.cc:98:24: error: no matching member function for call to
'ToString'
str = info[0]->ToString();
~~~~~~~~~^~~~~~~~
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate
function not viable: requires single argument 'context', but no arguments
were provided
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate
function not viable: requires single argument 'isolate', but no arguments
were provided
Local<String> ToString(Isolate* isolate) const);
^
../node-expat.cc:103:38: error: no matching member function for call to
'ToObject'
Local<Object> obj = info[0]->ToObject();
~~~~~~~~~^~~~~~~~
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2532:44: note: candidate
function not viable: requires single argument 'context', but no arguments
were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2546:35: note: candidate
function not viable: requires single argument 'isolate', but no arguments
were provided
Local<Object> ToObject(Isolate* isolate) const);
^
../node-expat.cc:124:30: error: too few arguments to function call, single
argument 'isolate' was not specified
int len = str.Utf8Length();
~~~~~~~~~~~~~~ ^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2678:3: note: 'Utf8Length'
declared here
int Utf8Length(Isolate* isolate) const;
^
../node-expat.cc:130:26: error: cannot initialize a parameter of type
'v8::Isolate *' with an rvalue of type 'char *'
assert(str.WriteUtf8(static_cast<char *>(buf), len) == len);
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2738:26: note: passing argument
to parameter 'isolate' here
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^
../node-expat.cc:301:13: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
attr->Set(Nan::New(atts1[0]).ToLocalChecked(), Nan::New(atts1[1])....
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/willin/.node-gyp/12.3.1/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
../node-expat.cc:304:5: error: use of undeclared identifier 'Handle'; did you
mean 'handle'?
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^~~~~~
handle
../../nan/nan_object_wrap.h:41:32: note: 'handle' declared here
inline v8::Local<v8::Object> handle() const {
^
../node-expat.cc:304:5: error: call to non-static member function without an
object argument
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^~~~~~
../node-expat.cc:304:12: error: 'Value' does not refer to a value
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2240:17: note: declared here
class V8_EXPORT Value : public Data {
^
../node-expat.cc:304:19: error: use of undeclared identifier 'argv'
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^
../node-expat.cc:307:21: error: use of undeclared identifier 'argv'
parser->Emit(3, argv);
^
../node-expat.cc:317:5: error: use of undeclared identifier 'Handle'; did you
mean 'handle'?
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^~~~~~
handle
../../nan/nan_object_wrap.h:41:32: note: 'handle' declared here
inline v8::Local<v8::Object> handle() const {
^
../node-expat.cc:317:5: error: call to non-static member function without an
object argument
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^~~~~~
../node-expat.cc:317:12: error: 'Value' does not refer to a value
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2240:17: note: declared here
class V8_EXPORT Value : public Data {
^
../node-expat.cc:317:19: error: use of undeclared identifier 'argv'
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^
../node-expat.cc:318:21: error: use of undeclared identifier 'argv'
parser->Emit(2, argv);
^
../node-expat.cc:327:5: error: use of undeclared identifier 'Handle'; did you
mean 'handle'?
Handle<Value> argv[1] = { Nan::New("startCdata").ToLocalChecked() };
^~~~~~
handle
../../nan/nan_object_wrap.h:41:32: note: 'handle' declared here
inline v8::Local<v8::Object> handle() const {
^
../node-expat.cc:327:5: error: call to non-static member function without an
object argument
Handle<Value> argv[1] = { Nan::New("startCdata").ToLocalChecked() };
^~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Release/obj.target/node_expat/node-expat.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/Cellar/node/12.3.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/willin/Documents/class-go/classgo-server/node_modules/node-expat
gyp ERR! node -v v12.3.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN sequelize-typescript@0.6.6 requires a peer of reflect-metadata@>=0.1.9 but none is installed. You must install peer dependencies yourself.
npm WARN classgo-server@1.0.0 No description
npm WARN classgo-server@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-expat@2.3.17 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat@2.3.17 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/willin/.npm/_logs/2019-09-11T06_19_34_468Z-debug.log
✘ ~/Documents/class-go/classgo-server master npm i node-expat
> node-expat@2.3.17 install /Users/willin/Documents/class-go/classgo-server/node_modules/node-expat
> node-gyp rebuild
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
LIBTOOL-STATIC Release/libexpat.a
CXX(target) Release/obj.target/node_expat/node-expat.o
../node-expat.cc:11:26: error: no template named 'Handle'
static void Initialize(Handle<Object> target)
^
../node-expat.cc:481:23: error: no template named 'Handle'
void Emit(int argc, Handle<Value> argv[])
^
../node-expat.cc:29:69: error: too few arguments to function call, single
argument 'context' was not specified
target->Set(Nan::New("Parser").ToLocalChecked(), t->GetFunction());
~~~~~~~~~~~~~~ ^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:5947:3: note: 'GetFunction'
declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^
/Users/willin/.node-gyp/12.3.1/include/node/v8config.h:347:31: note: expanded
from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
../node-expat.cc:98:24: error: no matching member function for call to
'ToString'
str = info[0]->ToString();
~~~~~~~~~^~~~~~~~
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate
function not viable: requires single argument 'context', but no arguments
were provided
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate
function not viable: requires single argument 'isolate', but no arguments
were provided
Local<String> ToString(Isolate* isolate) const);
^
../node-expat.cc:103:38: error: no matching member function for call to
'ToObject'
Local<Object> obj = info[0]->ToObject();
~~~~~~~~~^~~~~~~~
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2532:44: note: candidate
function not viable: requires single argument 'context', but no arguments
were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2546:35: note: candidate
function not viable: requires single argument 'isolate', but no arguments
were provided
Local<Object> ToObject(Isolate* isolate) const);
^
../node-expat.cc:124:30: error: too few arguments to function call, single
argument 'isolate' was not specified
int len = str.Utf8Length();
~~~~~~~~~~~~~~ ^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2678:3: note: 'Utf8Length'
declared here
int Utf8Length(Isolate* isolate) const;
^
../node-expat.cc:130:26: error: cannot initialize a parameter of type
'v8::Isolate *' with an rvalue of type 'char *'
assert(str.WriteUtf8(static_cast<char *>(buf), len) == len);
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2738:26: note: passing argument
to parameter 'isolate' here
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^
../node-expat.cc:301:13: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
attr->Set(Nan::New(atts1[0]).ToLocalChecked(), Nan::New(atts1[1])....
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:3358:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/willin/.node-gyp/12.3.1/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
../node-expat.cc:304:5: error: use of undeclared identifier 'Handle'; did you
mean 'handle'?
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^~~~~~
handle
../../nan/nan_object_wrap.h:41:32: note: 'handle' declared here
inline v8::Local<v8::Object> handle() const {
^
../node-expat.cc:304:5: error: call to non-static member function without an
object argument
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^~~~~~
../node-expat.cc:304:12: error: 'Value' does not refer to a value
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2240:17: note: declared here
class V8_EXPORT Value : public Data {
^
../node-expat.cc:304:19: error: use of undeclared identifier 'argv'
Handle<Value> argv[3] = { Nan::New("startElement").ToLocalChecked(),
^
../node-expat.cc:307:21: error: use of undeclared identifier 'argv'
parser->Emit(3, argv);
^
../node-expat.cc:317:5: error: use of undeclared identifier 'Handle'; did you
mean 'handle'?
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^~~~~~
handle
../../nan/nan_object_wrap.h:41:32: note: 'handle' declared here
inline v8::Local<v8::Object> handle() const {
^
../node-expat.cc:317:5: error: call to non-static member function without an
object argument
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^~~~~~
../node-expat.cc:317:12: error: 'Value' does not refer to a value
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^
/Users/willin/.node-gyp/12.3.1/include/node/v8.h:2240:17: note: declared here
class V8_EXPORT Value : public Data {
^
../node-expat.cc:317:19: error: use of undeclared identifier 'argv'
Handle<Value> argv[2] = { Nan::New("endElement").ToLocalChecked(), N...
^
../node-expat.cc:318:21: error: use of undeclared identifier 'argv'
parser->Emit(2, argv);
^
../node-expat.cc:327:5: error: use of undeclared identifier 'Handle'; did you
mean 'handle'?
Handle<Value> argv[1] = { Nan::New("startCdata").ToLocalChecked() };
^~~~~~
handle
../../nan/nan_object_wrap.h:41:32: note: 'handle' declared here
inline v8::Local<v8::Object> handle() const {
^
../node-expat.cc:327:5: error: call to non-static member function without an
object argument
Handle<Value> argv[1] = { Nan::New("startCdata").ToLocalChecked() };
^~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Release/obj.target/node_expat/node-expat.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/Cellar/node/12.3.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/willin/Documents/class-go/classgo-server/node_modules/node-expat
gyp ERR! node -v v12.3.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN sequelize-typescript@0.6.6 requires a peer of reflect-metadata@>=0.1.9 but none is installed. You must install peer dependencies yourself.
npm WARN classgo-server@1.0.0 No description
npm WARN classgo-server@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-expat@2.3.17 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat@2.3.17 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
now that node.js v12 went LTS, I think this is going to be a bigger issue...
Build still fails on Ubuntu 19.10, node 12.13.0, Here a portion of the output at the point of first error:
`../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase |
return scope.Escape(v8::Function::New( isolate | ^ |
---|---|---|
v8::Isolate* |
In file included from /home/redstone/.cache/node-gyp/12.13.0/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../node-expat.cc:1:
/home/redstone/.cache/node-gyp/12.13.0/include/node/v8.h:4171:22: note: initializing argument 1 of ‘static v8::MaybeLocal~~~^~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:203,
from ../node-expat.cc:1:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase
Build still fails on Ubuntu 18.04.3 LTS, node 12.14.0.
@brandonros Are you sure that #196 fixes this? I use latest node-expat 2.3.18 that includes the fix, but the build still fails on Ubuntu.
I am getting the same on Ubuntu 20.04.1 LTS trying to build on node v12.13.1 (for AWS Lambda).
Using v2.4.0 of node-expat...
It was working fine on development machine (older versions where the project has been stale for a while) but moving into a new dev env. I started getting this error.
After some more testing I managed to get round the issue by updating npm
and node
versions:
Updated npm
to 7.13.0 (npm install -g npm
)
Changed to use node v12.22.1
(latest v12), (nvm install v12.22.1
nvm use
)
rm -r node_modules/
npm i
After that the package is built and working fine!
Same on Ubuntu 22 with Node 20
Ubuntu 22.04.4 LTS Node v20.11.1 npm 10.2.4 yarn 1.22.22
Output:
$ yarn add node-expat (master)
yarn add v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > next-auth@3.29.10" has incorrect peer dependency "react@^16.13.1 || ^17".
warning " > next-auth@3.29.10" has incorrect peer dependency "react-dom@^16.13.1 || ^17".
warning "next-auth > @next-auth/prisma-legacy-adapter@0.1.2" has incorrect peer dependency "@prisma/client@^2.16.1".
warning " > react-hook-form@7.2.1" has incorrect peer dependency "react@^16.8.0 || ^17".
warning " > react-query@3.6.0" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
warning " > rollup-plugin-svelte@7.1.0" has unmet peer dependency "rollup@>=2.0.0".
warning " > typegraphql-prisma@0.9.4" has unmet peer dependency "@prisma/cli@~2.14.0".
warning " > typegraphql-prisma@0.9.4" has incorrect peer dependency "@prisma/client@~2.14.0".
warning " > typegraphql-prisma@0.9.4" has unmet peer dependency "@types/graphql-fields@^1.3.3".
warning " > typegraphql-prisma@0.9.4" has unmet peer dependency "graphql-fields@^2.0.3".
warning " > typegraphql-prisma@0.9.4" has unmet peer dependency "graphql-type-json@^0.3.2".
warning " > typegraphql-prisma@0.9.4" has unmet peer dependency "type-graphql@^1.1.1".
[4/4] Building fresh packages...
[-/8] ⠈ waiting...
[6/8] ⠈ node-expat
[-/8] ⠈ waiting...
[4/8] ⠈ node-expat
error /usr/local/cusdis/node_modules/xml2json/node_modules/node-expat: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /usr/local/cusdis/node_modules/xml2json/node_modules/node-expat
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@10.0.1
gyp info using node@20.11.1 | linux | x64
gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/home/edwin/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/cusdis/node_modules/xml2json/node_modules/node-expat/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/edwin/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/edwin/.cache/node-gyp/20.11.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/edwin/.cache/node-gyp/20.11.1',
gyp info spawn args '-Dnode_gyp_dir=/home/edwin/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/edwin/.cache/node-gyp/20.11.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/local/cusdis/node_modules/xml2json/node_modules/node-expat',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/local/cusdis/node_modules/xml2json/node_modules/node-expat/build'
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
In file included from ../deps/libexpat/lib/xmltok.c:306:
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_isPublicId’:
../deps/libexpat/lib/xmltok_impl.c:1404:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1404 | if (!(BYTE_TO_ASCII(enc, ptr) & ~0x7f))
| ^
../deps/libexpat/lib/xmltok_impl.c:1406:5: note: here
1406 | default:
| ^~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_sameName’:
../deps/libexpat/lib/xmltok_impl.c:1624:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1624 | if (*ptr1++ != *ptr2++) \
| ^
../deps/libexpat/lib/xmltok_impl.c:1626:5: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1623:5: note: here
1623 | case BT_LEAD ## n: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1626:18: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1624:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1624 | if (*ptr1++ != *ptr2++) \
| ^
../deps/libexpat/lib/xmltok_impl.c:1626:18: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1623:5: note: here
1623 | case BT_LEAD ## n: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1626:31: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_scanRef’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:509:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
509 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:509:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
509 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:518:5: note: in expansion of macro ‘CHECK_NAME_CASES’
518 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:518:5: note: in expansion of macro ‘CHECK_NAME_CASES’
518 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_scanPercent’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:886:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
886 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:886:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
886 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:896:5: note: in expansion of macro ‘CHECK_NAME_CASES’
896 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:896:5: note: in expansion of macro ‘CHECK_NAME_CASES’
896 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_scanLt’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:693:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
693 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:693:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
693 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:731:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
731 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:731:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
731 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:743:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
743 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:743:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
743 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:720:5: note: in expansion of macro ‘CHECK_NAME_CASES’
720 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:720:5: note: in expansion of macro ‘CHECK_NAME_CASES’
720 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_scanPi’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:246:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
246 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:246:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
246 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:253:5: note: in expansion of macro ‘CHECK_NAME_CASES’
253 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:253:5: note: in expansion of macro ‘CHECK_NAME_CASES’
253 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_scanEndTag’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:397:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
397 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:397:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
397 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:404:5: note: in expansion of macro ‘CHECK_NAME_CASES’
404 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:404:5: note: in expansion of macro ‘CHECK_NAME_CASES’
404 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_scanAtts’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:552:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
552 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:552:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
552 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:649:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
649 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:649:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
649 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:541:5: note: in expansion of macro ‘CHECK_NAME_CASES’
541 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:541:5: note: in expansion of macro ‘CHECK_NAME_CASES’
541 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_prologTok’:
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:1153:9: note: in expansion of macro ‘CHECK_NAME_CASES’
1153 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1153:9: note: in expansion of macro ‘CHECK_NAME_CASES’
1153 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:1139:5: note: in expansion of macro ‘CHECK_NAME_CASES’
1139 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1139:5: note: in expansion of macro ‘CHECK_NAME_CASES’
1139 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_scanPoundName’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:914:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
914 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:914:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
914 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:921:5: note: in expansion of macro ‘CHECK_NAME_CASES’
921 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:921:5: note: in expansion of macro ‘CHECK_NAME_CASES’
921 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
In file included from ../deps/libexpat/lib/xmltok.c:791:
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_isPublicId’:
../deps/libexpat/lib/xmltok_impl.c:1404:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1404 | if (!(BYTE_TO_ASCII(enc, ptr) & ~0x7f))
| ^
../deps/libexpat/lib/xmltok_impl.c:1406:5: note: here
1406 | default:
| ^~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_sameName’:
../deps/libexpat/lib/xmltok_impl.c:1624:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1624 | if (*ptr1++ != *ptr2++) \
| ^
../deps/libexpat/lib/xmltok_impl.c:1626:5: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1623:5: note: here
1623 | case BT_LEAD ## n: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1626:18: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1624:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1624 | if (*ptr1++ != *ptr2++) \
| ^
../deps/libexpat/lib/xmltok_impl.c:1626:18: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1623:5: note: here
1623 | case BT_LEAD ## n: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1626:31: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_scanRef’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:509:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
509 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:509:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
509 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:518:5: note: in expansion of macro ‘CHECK_NAME_CASES’
518 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:518:5: note: in expansion of macro ‘CHECK_NAME_CASES’
518 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_scanPercent’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:886:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
886 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:886:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
886 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:896:5: note: in expansion of macro ‘CHECK_NAME_CASES’
896 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:896:5: note: in expansion of macro ‘CHECK_NAME_CASES’
896 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_scanLt’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:693:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
693 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:693:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
693 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:731:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
731 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:731:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
731 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:743:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
743 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:743:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
743 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:720:5: note: in expansion of macro ‘CHECK_NAME_CASES’
720 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:720:5: note: in expansion of macro ‘CHECK_NAME_CASES’
720 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_scanPi’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:246:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
246 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:246:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
246 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:253:5: note: in expansion of macro ‘CHECK_NAME_CASES’
253 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:253:5: note: in expansion of macro ‘CHECK_NAME_CASES’
253 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_scanEndTag’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:397:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
397 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:397:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
397 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:404:5: note: in expansion of macro ‘CHECK_NAME_CASES’
404 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:404:5: note: in expansion of macro ‘CHECK_NAME_CASES’
404 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_scanAtts’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:552:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
552 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:552:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
552 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:649:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
649 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:649:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
649 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:541:5: note: in expansion of macro ‘CHECK_NAME_CASES’
541 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:541:5: note: in expansion of macro ‘CHECK_NAME_CASES’
541 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_prologTok’:
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:1153:9: note: in expansion of macro ‘CHECK_NAME_CASES’
1153 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1153:9: note: in expansion of macro ‘CHECK_NAME_CASES’
1153 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:1139:5: note: in expansion of macro ‘CHECK_NAME_CASES’
1139 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1139:5: note: in expansion of macro ‘CHECK_NAME_CASES’
1139 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘little2_scanPoundName’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:914:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
914 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:914:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
914 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:921:5: note: in expansion of macro ‘CHECK_NAME_CASES’
921 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:921:5: note: in expansion of macro ‘CHECK_NAME_CASES’
921 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
In file included from ../deps/libexpat/lib/xmltok.c:932:
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_isPublicId’:
../deps/libexpat/lib/xmltok_impl.c:1404:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1404 | if (!(BYTE_TO_ASCII(enc, ptr) & ~0x7f))
| ^
../deps/libexpat/lib/xmltok_impl.c:1406:5: note: here
1406 | default:
| ^~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_sameName’:
../deps/libexpat/lib/xmltok_impl.c:1624:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1624 | if (*ptr1++ != *ptr2++) \
| ^
../deps/libexpat/lib/xmltok_impl.c:1626:5: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1623:5: note: here
1623 | case BT_LEAD ## n: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1626:18: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1624:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1624 | if (*ptr1++ != *ptr2++) \
| ^
../deps/libexpat/lib/xmltok_impl.c:1626:18: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:1623:5: note: here
1623 | case BT_LEAD ## n: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1626:31: note: in expansion of macro ‘LEAD_CASE’
1626 | LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)
| ^~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_scanRef’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:509:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
509 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:509:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
509 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:518:5: note: in expansion of macro ‘CHECK_NAME_CASES’
518 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:518:5: note: in expansion of macro ‘CHECK_NAME_CASES’
518 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_scanPercent’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:886:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
886 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:886:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
886 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:896:5: note: in expansion of macro ‘CHECK_NAME_CASES’
896 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:896:5: note: in expansion of macro ‘CHECK_NAME_CASES’
896 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_scanLt’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:693:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
693 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:693:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
693 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:731:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
731 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:731:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
731 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:743:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
743 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:743:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
743 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:720:5: note: in expansion of macro ‘CHECK_NAME_CASES’
720 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:720:5: note: in expansion of macro ‘CHECK_NAME_CASES’
720 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_scanPi’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:246:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
246 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:246:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
246 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:253:5: note: in expansion of macro ‘CHECK_NAME_CASES’
253 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:253:5: note: in expansion of macro ‘CHECK_NAME_CASES’
253 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_scanEndTag’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:397:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
397 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:397:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
397 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:404:5: note: in expansion of macro ‘CHECK_NAME_CASES’
404 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:404:5: note: in expansion of macro ‘CHECK_NAME_CASES’
404 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_scanAtts’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:552:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
552 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:552:7: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
552 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:649:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
649 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:649:11: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
649 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:541:5: note: in expansion of macro ‘CHECK_NAME_CASES’
541 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:541:5: note: in expansion of macro ‘CHECK_NAME_CASES’
541 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_prologTok’:
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:1153:9: note: in expansion of macro ‘CHECK_NAME_CASES’
1153 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1153:9: note: in expansion of macro ‘CHECK_NAME_CASES’
1153 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:1139:5: note: in expansion of macro ‘CHECK_NAME_CASES’
1139 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:1139:5: note: in expansion of macro ‘CHECK_NAME_CASES’
1139 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c: In function ‘big2_scanPoundName’:
../deps/libexpat/lib/xmltok_impl.c:74:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
74 | if (!IS_NMSTRT_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:914:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
914 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:78:3: note: here
78 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:914:3: note: in expansion of macro ‘CHECK_NMSTRT_CASES’
914 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:46:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
46 | if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \
| ^
../deps/libexpat/lib/xmltok_impl.c:921:5: note: in expansion of macro ‘CHECK_NAME_CASES’
921 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_impl.c:50:3: note: here
50 | case BT_NMSTRT: \
| ^~~~
../deps/libexpat/lib/xmltok_impl.c:921:5: note: in expansion of macro ‘CHECK_NAME_CASES’
921 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^~~~~~~~~~~~~~~~
In file included from ../deps/libexpat/lib/xmltok.c:17:
../deps/libexpat/lib/xmltok_ns.c: In function ‘findEncoding’:
../deps/libexpat/lib/xmltok.h:262:10: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized]
262 | (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_ns.c:78:3: note: in expansion of macro ‘XmlUtf8Convert’
78 | XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1);
| ^~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok.h:262:10: note: by argument 5 of type ‘const char *’ to ‘enum XML_Convert_Result(const ENCODING *, const char **, const char *, char **, const char *)’ {aka ‘enum XML_Convert_Result(const struct encoding *, const char **, const char *, char **, const char *)’}
262 | (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_ns.c:78:3: note: in expansion of macro ‘XmlUtf8Convert’
78 | XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1);
| ^~~~~~~~~~~~~~
In file included from ../deps/libexpat/lib/xmltok.c:1718:
../deps/libexpat/lib/xmltok_ns.c:75:8: note: ‘buf’ declared here
75 | char buf[ENCODING_MAX];
| ^~~
In file included from ../deps/libexpat/lib/xmltok.c:17:
../deps/libexpat/lib/xmltok_ns.c: In function ‘findEncodingNS’:
../deps/libexpat/lib/xmltok.h:262:10: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized]
262 | (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_ns.c:78:3: note: in expansion of macro ‘XmlUtf8Convert’
78 | XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1);
| ^~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok.h:262:10: note: by argument 5 of type ‘const char *’ to ‘enum XML_Convert_Result(const ENCODING *, const char **, const char *, char **, const char *)’ {aka ‘enum XML_Convert_Result(const struct encoding *, const char **, const char *, char **, const char *)’}
262 | (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/libexpat/lib/xmltok_ns.c:78:3: note: in expansion of macro ‘XmlUtf8Convert’
78 | XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1);
| ^~~~~~~~~~~~~~
In file included from ../deps/libexpat/lib/xmltok.c:1729:
../deps/libexpat/lib/xmltok_ns.c:75:8: note: ‘buf’ declared here
75 | char buf[ENCODING_MAX];
| ^~~
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
rm -f Release/obj.target/deps/libexpat/libexpat.a Release/obj.target/deps/libexpat/libexpat.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/libexpat/libexpat.a`
ar crs Release/obj.target/deps/libexpat/libexpat.a @Release/obj.target/deps/libexpat/libexpat.a.ar-file-list
COPY Release/libexpat.a
CXX(target) Release/obj.target/node_expat/node-expat.o
In file included from ../../nan/nan.h:176,
from ../node-expat.cc:1:
../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
55 | typedef v8::Local<v8::AccessorSignature> Sig;
| ^~~~~~~~~~~~~~~~~
../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
55 | typedef v8::Local<v8::AccessorSignature> Sig;
| ^
In file included from ../node-expat.cc:1:
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
../../nan/nan.h:2542:19: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
2542 | tpl->SetAccessor(
| ~~~~~~~~~~~~~~~~^
2543 | name
| ~~~~
2544 | , getter_
| ~~~~~~~~~
2545 | , setter_
| ~~~~~~~~~
2546 | , obj
| ~~~~~
2547 | , settings
| ~~~~~~~~~~
2548 | , attribute
| ~~~~~~~~~~~
2549 | , signature);
| ~~~~~~~~~~~~
In file included from /home/edwin/.cache/node-gyp/20.11.1/include/node/v8-function.h:15,
from /home/edwin/.cache/node-gyp/20.11.1/include/node/v8.h:33,
from /home/edwin/.cache/node-gyp/20.11.1/include/node/node.h:73,
from ../../nan/nan.h:56,
from ../node-expat.cc:1:
/home/edwin/.cache/node-gyp/20.11.1/include/node/v8-template.h:809:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
809 | void SetAccessor(
| ^~~~~~~~~~~
/home/edwin/.cache/node-gyp/20.11.1/include/node/v8-template.h:814:22: note: no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
814 | SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/edwin/.cache/node-gyp/20.11.1/include/node/v8-template.h:816:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
816 | void SetAccessor(
| ^~~~~~~~~~~
/home/edwin/.cache/node-gyp/20.11.1/include/node/v8-template.h:821:22: note: no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
821 | SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [node_expat.target.mk:117: Release/obj.target/node_expat/node-expat.o] Error 1
make: Leaving directory '/usr/local/cusdis/node_modules/xml2json/node_modules/node-expat/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/home/edwin/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
gyp ERR! System Linux 5.15.0-101-generic
gyp ERR! command "/home/edwin/.nvm/versions/node/v20.11.1/bin/node" "/home/edwin/.nvm/versions/node/v20.11.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/cusdis/node_modules/xml2json/node_modules/node-expat
steps to reproduce:
Ubuntu 18.04 Node 12.3.1 via nvm
if i
nvm use lts/dubnium
the install is successful.here is the console output (verbose):