HDF-NI / hdf5.node

A node module for reading/writing the HDF5 file format.
MIT License
123 stars 40 forks source link

Node 12? #106

Open chadbr opened 5 years ago

chadbr commented 5 years ago

Node 12 is out -- any plans to support it?

Several minimum compiler changes... hopefully they don't cause you many issues.

https://medium.com/@nodejs/introducing-node-js-12-76c41a1b3f3f

Thanks, Chad

rimmartin commented 5 years ago

Sure, I'll check on it

rimmartin commented 5 years ago

Looking it over I think I should do it in branch. Then worry about publishing later. Publishing is changing in the ecosystem anyway

rimmartin commented 5 years ago

branch v12 compiles and runs the tests successfully.

Next to update code for all the deprecation warnings

chadbr commented 5 years ago

Awesome 👏

chadbr commented 5 years ago

Hey @rimmartin we were looking into upgrading to node 12.

Any thoughts on merging the branch? Or a way forward?

Thanks, Chad

rimmartin commented 5 years ago

Hi @chadbr, You would like it to come from npm repository?

I don't have a develop branch but could merge to a develop branch for a while

Have to think about it; I know there are some more deprecated v8 functions/objects I need to upgrade but these don't effect the javascript side

chadbr commented 5 years ago

@rimmartin moving to 12 was my assumption yes. Increment major version number - document it's a move to v12.

For v10 support, may you branch master to a v10 branch and only increment minor version there if you wan to fix?

What were you thinking?

rimmartin commented 5 years ago

Yea I'm inclined to do that.

May publish for the prior versions one more time to npm (with some fixes) and then immediately publish for v12 and beyond

rimmartin commented 5 years ago

working with v13 as well And also travis now allows building for windows; adding that

chadbr commented 5 years ago

beautiful -- thanks much.

ashaffer commented 4 years ago

Hello, just wonder if there's been any movement on merging this into the main package? I'd like to use it in node 12.

rimmartin commented 4 years ago

Hi @ashaffer I'll begin to publish this week; been working on downstream uses

chadbr commented 4 years ago

Thanks for your continued hard work @rimmartin

fwiw @ashaffer we've been pulling directly from the branch since we moved to node 12.

    "hdf5": "git+https://git@github.com/HDF-NI/hdf5.node.git#v12",
rimmartin commented 4 years ago

@chadbr thank you:-) I got a little bit away working on refurbishing the nvd3 charting based on d3 v5 https://github.com/rimmartin/nvd3 http://nvd3.org/ to be able to use in the hdf5.viewer I also have been making hdf5.ws and hdf5.uws(which goes directly from hdf5 to the web based on c++ https://github.com/uNetworking/uWebSockets server) usable and publishable.

But the nvd3 is taking a lot more so I'll punt and publish hdf5.node before I finish these dependent projects)

chadbr commented 4 years ago

Looks like node 14 is out :)

rimmartin commented 4 years ago

Node 14? Okay I'll get my butt moving again

chadbr commented 4 years ago

Go get 'em!

ziyuang commented 4 years ago

I have the following errors with node 14.

Linux:

[~/app]$ yarn add https://github.com/HDF-NI/hdf5.node#v12
yarn add v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error ~/app/node_modules/hdf5: Command failed.
Exit code: 1
Command: node-gyp rebuild --jobs max
Arguments:
Directory: ~/app/node_modules/hdf5
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.0
gyp info using node@14.6.0 | linux | x64
gyp info find Python using Python version 3.7.6 found at "~/anaconda3/bin/python"
gyp info spawn ~/anaconda3/bin/python
gyp info spawn args [
gyp info spawn args   '~/.nvm/versions/node/v14.6.0/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   '~/app/node_modules/hdf5/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '~/.nvm/versions/node/v14.6.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '~/.cache/node-gyp/14.6.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=~/.cache/node-gyp/14.6.0',
gyp info spawn args   '-Dnode_gyp_dir=~/.nvm/versions/node/v14.6.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=~/.cache/node-gyp/14.6.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=~/app/node_modules/hdf5',
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', '--jobs', 4 ]
make: Entering directory '~/app/node_modules/hdf5/build'
  CXX(target) Release/obj.target/h5ds/src/h5ds.o
  CXX(target) Release/obj.target/h5im/src/h5im.o
  CXX(target) Release/obj.target/h5lt/src/int64.o
  CXX(target) Release/obj.target/h5lt/src/uint64.o
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp: In static member function ‘static void NodeHDF5::H5im::Initialize(v8::Local<v8::Object>)’:
../src/h5_im.hpp:25:124: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5im::make_image)->GetFunction(context).ToLocalChecked());
                                                                                                                            ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:27:124: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5im::read_image)->GetFunction(context).ToLocalChecked());
                                                                                                                            ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:29:131: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5im::read_image_region)->GetFunction(context).ToLocalChecked());
                                                                                                                                   ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:31:122: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5im::is_image)->GetFunction(context).ToLocalChecked());
                                                                                                                          ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:33:128: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5im::get_image_info)->GetFunction(context).ToLocalChecked());
                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:35:126: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5im::make_palette)->GetFunction(context).ToLocalChecked());
                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp: In static member function ‘static void NodeHDF5::H5im::read_image(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/h5_im.hpp:162:180: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), width));
                                                                                                                                                                                    ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:163:182: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), height));
                                                                                                                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:164:182: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
                                                                                                                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:165:241: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
                                                                                                                                                                                                                                                 ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:166:180: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
                                                                                                                                                                                    ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:169:117: error: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute warn_unused_result [-Werror=unused-result]
               ->Call(v8::Isolate::GetCurrent()->GetCurrentContext(), v8::Null(v8::Isolate::GetCurrent()), argc, argv);
                                                                                                                     ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:4468:43: note: declared here
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:171:179: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), width));
                                                                                                                                                                                   ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:172:181: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), height));
                                                                                                                                                                                     ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:173:181: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
                                                                                                                                                                                     ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:174:240: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
                                                                                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:175:179: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
                                                                                                                                                                                   ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp: In static member function ‘static void NodeHDF5::H5im::read_image_region(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/h5_im.hpp:280:184: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), count.get()[0]));
                                                                                                                                                                                        ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:281:185: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), count.get()[1]));
                                                                                                                                                                                         ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:282:177: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
                                                                                                                                                                                 ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:283:236: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
                                                                                                                                                                                                                                            ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:284:175: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
                                                                                                                                                                               ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp: In static member function ‘static void NodeHDF5::H5im::get_image_info(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/h5_im.hpp:318:174: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), width));
                                                                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:319:176: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), height));
                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:320:176: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:321:235: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
                                                                                                                                                                                                                                           ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5im.cc:4:0:
../src/h5_im.hpp:322:174: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
       attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
                                                                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5im.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp: In static member function ‘static void NodeHDF5::H5ds::Initialize(v8::Local<v8::Object>)’:
../src/h5_ds.hpp:24:123: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::set_scale)->GetFunction(context).ToLocalChecked());
                                                                                                                           ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:26:126: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::attach_scale)->GetFunction(context).ToLocalChecked());
                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:28:126: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::detach_scale)->GetFunction(context).ToLocalChecked());
                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:30:125: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::is_attached)->GetFunction(context).ToLocalChecked());
                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:32:122: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::is_scale)->GetFunction(context).ToLocalChecked());
                                                                                                                          ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:34:128: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::iterate_scales)->GetFunction(context).ToLocalChecked());
                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:36:123: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::set_label)->GetFunction(context).ToLocalChecked());
                                                                                                                           ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:38:123: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::get_label)->GetFunction(context).ToLocalChecked());
                                                                                                                           ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:40:128: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::get_scale_name)->GetFunction(context).ToLocalChecked());
                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp:42:128: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5ds::get_num_scales)->GetFunction(context).ToLocalChecked());
                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp: In lambda function:
../src/h5_ds.hpp:197:62: error: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 ->Call(context, v8::Null(isolate), argc, argv);
                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:4468:43: note: declared here
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
In file included from ../src/h5ds.cc:4:0:
../src/h5_ds.hpp: In lambda function:
../src/h5_ds.hpp:208:137: error: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute warn_unused_result [-Werror=unused-result]
                                             v8::Isolate::GetCurrent()->GetCurrentContext(), v8::Null(v8::Isolate::GetCurrent()), 3, argv);
                                                                                                                                         ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5ds.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:4468:43: note: declared here
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
  CXX(target) Release/obj.target/h5lt/src/h5lt.o
  CXX(target) Release/obj.target/h5lt/src/reference.o
cc1plus: all warnings being treated as errors
h5ds.target.mk:123: recipe for target 'Release/obj.target/h5ds/src/h5ds.o' failed
make: *** [Release/obj.target/h5ds/src/h5ds.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp: In static member function ‘static void NodeHDF5::H5lt::Initialize(v8::Local<v8::Object>)’:
../src/h5_lt.hpp:81:126: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5lt::make_dataset)->GetFunction(context).ToLocalChecked());
                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:83:127: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5lt::write_dataset)->GetFunction(context).ToLocalChecked());
                                                                                                                               ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:85:133: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5lt::read_dataset_length)->GetFunction(context).ToLocalChecked());
                                                                                                                                     ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:87:135: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5lt::read_dataset_datatype)->GetFunction(context).ToLocalChecked());
                                                                                                                                       ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:89:126: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5lt::read_dataset)->GetFunction(context).ToLocalChecked());
                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:91:133: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                   FunctionTemplate::New(v8::Isolate::GetCurrent(), H5lt::readDatasetAsBuffer)->GetFunction(context).ToLocalChecked());
                                                                                                                                     ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp: In static member function ‘static void NodeHDF5::H5lt::fill_multi_array(v8::Local<v8::Array>&, std::unique_ptr<char []>&, std::unique_ptr<long long unsigned int []>&, std::unique_ptr<long long unsigned int []>&, size_t, hsize_t&, int, int, H5T_str_t)’:
../src/h5_lt.hpp:245:55: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
             array->Set(context, arrayIndex, arrayCheck);
                                                       ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3673:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:257:74: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                                              realLength).ToLocalChecked());
                                                                          ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3673:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                     ^~~
cc1plus: all warnings being treated as errors
h5im.target.mk:123: recipe for target 'Release/obj.target/h5im/src/h5im.o' failed
make: *** [Release/obj.target/h5im/src/h5im.o] Error 1
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp: In static member function ‘static void NodeHDF5::H5lt::make_dataset_from_string(const hid_t&, const char*, v8::Local<v8::String>, v8::Local<v8::Object>)’:
../src/h5_lt.hpp:965:30: error: variable ‘context’ set but not used [-Werror=unused-but-set-variable]
       v8::Local<v8::Context> context = isolate->GetCurrentContext();
                              ^~~~~~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp: In static member function ‘static void NodeHDF5::H5lt::read_dataset(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/h5_lt.hpp:1542:161: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                       v8::Isolate::GetCurrent(), tbuffer.get()[arrayIndex], v8::NewStringType::kNormal, std::strlen(tbuffer.get()[arrayIndex])).ToLocalChecked());
                                                                                                                                                                 ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3673:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1566:21: error: variable ‘arrayMaximum’ set but not used [-Werror=unused-but-set-variable]
             hsize_t arrayMaximum=values_dim.get()[0];
                     ^~~~~~~~~~~~
../src/h5_lt.hpp:1567:21: error: unused variable ‘realLength’ [-Werror=unused-variable]
             hsize_t realLength=0;
                     ^~~~~~~~~~
../src/h5_lt.hpp:1625:147: error: ‘static v8::Local<v8::ArrayBuffer> v8::ArrayBuffer::New(v8::Isolate*, void*, size_t, v8::ArrayBufferCreationMode)’ is deprecated: Use the version that takes a BackingStore. See http://crbug.com/v8/9908. [-Werror=deprecated-declarations]
           Local<ArrayBuffer> arrayBuffer = ArrayBuffer::New(v8::Isolate::GetCurrent(), vl.get()[arrayIndex].p, typeSize * vl.get()[arrayIndex].len);
                                                                                                                                                   ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:5169:29: note: declared here
   static Local<ArrayBuffer> New(
                             ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1662:98: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                                Int32::New(v8::Isolate::GetCurrent(), toEnumMap[H5T_NATIVE_LLONG]));
                                                                                                  ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1756:186: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
             options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rank", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), rank));
                                                                                                                                                                                          ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1758:189: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
             options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "endian", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), order));
                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1761:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1762:208: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[3]));
                                                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1763:209: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                                                                                                                                                 ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1764:206: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "files", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1767:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1768:208: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
                                                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1769:209: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                                 ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1772:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1773:208: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1776:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1791:199: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                     enumeration->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), mname, v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), dvalue));
                                                                                                                                                                                                       ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1798:164: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "enumeration", v8::NewStringType::kInternalized).ToLocalChecked(), enumeration);
                                                                                                                                                                    ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:1803:101: error: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 ->Call(v8::Isolate::GetCurrent()->GetCurrentContext(), v8::Null(isolate), argc, argv);
                                                                                                     ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:4468:43: note: declared here
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp: In static member function ‘static void NodeHDF5::H5lt::readDatasetAsBuffer(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/h5_lt.hpp:1991:183: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
           buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "type", v8::NewStringType::kInternalized).ToLocalChecked(), Int32::New(v8::Isolate::GetCurrent(), etype));
                                                                                                                                                                                       ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2003:186: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
             options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rank", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), rank));
                                                                                                                                                                                          ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2005:189: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
             options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "endian", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), order));
                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2008:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2009:208: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[3]));
                                                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2010:209: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                                                                                                                                                 ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2011:206: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "files", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                              ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2014:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2015:208: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
                                                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2016:209: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                                 ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2019:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2020:208: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                                                                                                                                                ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2023:205: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                                                                                                                                             ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2028:101: error: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute warn_unused_result [-Werror=unused-result]
                 ->Call(v8::Isolate::GetCurrent()->GetCurrentContext(), v8::Null(isolate), argc, argv);
                                                                                                     ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:4468:43: note: declared here
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2030:185: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
             buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rank", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), rank));
                                                                                                                                                                                         ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2034:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2036:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[3]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2038:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2040:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2044:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2046:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2048:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2052:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2055:88: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                             Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
                                                                                        ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
In file included from ../src/h5lt.cc:4:0:
../src/h5_lt.hpp:2059:86: error: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Werror=unused-result]
                           Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
                                                                                      ^
In file included from ~/.cache/node-gyp/14.6.0/include/node/node.h:67:0,
                 from ../src/h5lt.cc:1:
~/.cache/node-gyp/14.6.0/include/node/v8.h:3670:37: note: declared here
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
cc1plus: all warnings being treated as errors
h5lt.target.mk:126: recipe for target 'Release/obj.target/h5lt/src/h5lt.o' failed
make: Leaving directory '~/app/node_modules/hdf5/build'
make: *** [Release/obj.target/h5lt/src/h5lt.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (~/.nvm/versions/node/v14.6.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 4.15.0-108-generic
gyp ERR! command "~/.nvm/versions/node/v14.6.0/bin/node" "~/.nvm/versions/node/v14.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--jobs" "max"
gyp ERR! cwd ~/app/node_modules/hdf5
gyp ERR! node -v v14.6.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Windows:

app> yarn add https://github.com/HDF-NI/hdf5.node#v12
yarn add v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "win32" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error app\node_modules\hdf5: Command failed.
Exit code: 1
Command: node-gyp rebuild --jobs max
Arguments:
Directory: app\node_modules\hdf5
Output:
app\node_modules\hdf5>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --jobs max )  else (node "" rebuild --jobs max )
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.0
gyp info using node@14.4.0 | win32 | x64
gyp info find Python using Python version 3.7.7 found at "%HOME%\AppData\Local\Continuum\anaconda3\python.exe"
gyp info find VS using VS2019 (16.4.29905.134) found at:
gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
gyp info find VS run with --verbose for detailed information
gyp info spawn %HOME%\AppData\Local\Continuum\anaconda3\python.exe
gyp info spawn args [
gyp info spawn args   '%HOME%\\AppData\\Roaming\\nvm\\v14.4.0\\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   'msvs',
gyp info spawn args   '-I',
gyp info spawn args   'app\\node_modules\\hdf5\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '%HOME%\\AppData\\Roaming\\nvm\\v14.4.0\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '%HOME%\\AppData\\Local\\node-gyp\\Cache\\14.4.0\\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%\\AppData\\Local\\node-gyp\\Cache\\14.4.0',
gyp info spawn args   '-Dnode_gyp_dir=%HOME%\\AppData\\Roaming\\nvm\\v14.4.0\\node_modules\\npm\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=%HOME%\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\14.4.0\\\\<(target_arch)\\\\node.lib',
gyp info spawn args   '-Dmodule_root_dir=app\\node_modules\\hdf5',
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   'app\\node_modules\\hdf5\\build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/clp:Verbosity=minimal',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64',
gyp info spawn args   '/m:8'
gyp info spawn args ]
  h5ds.cc
  h5tb.cc
  int64.cc
  uint64.cc
  h5pt.cc
  h5_pt.cc
  h5im.cc
  int64.cc
  uint64.cc
  reference.cc
  h5lt.cc
  int64.cc
  uint64.cc
  hdf5.cc
  attributes.cc
  methods.cc
  h5_file.cc
  h5_group.cc
  reference.cc
app\node_modules\hdf5\src\h5_lt.hpp(1625,1): warning C4996: 'v8::ArrayBuffer::New': Use the version that takes a BackingStore. See http://crbug.com/v8/9908. (compiling source file ..\src\h5lt.cc) [app\node_modules\hdf5\build\h5lt.vcxproj]
app\node_modules\hdf5\src\methods.cc(381,91): error C2660: 'H5Oget_info_by_name3': function does not take 4 arguments [app\node_modules\hdf5\build\hdf5.vcxproj]
%HOME%\AppData\Local\node-gyp\Cache\14.4.0\include\node\v8.h(5106): message : see declaration of 'v8::ArrayBuffer::New' (compiling source file ..\src\h5lt.cc) [app\node_modules\hdf5\build\h5lt.vcxproj]
C:\Program Files\HDF_Group\HDF5\1.12.0\include\H5Opublic.h(188,15): message : see declaration of 'H5Oget_info_by_name3' (compiling source file ..\src\methods.cc) [app\node_modules\hdf5\build\hdf5.vcxproj]
app\node_modules\hdf5\src\methods.cc(726,91): error C2660: 'H5Oget_info_by_name3': function does not take 4 arguments [app\node_modules\hdf5\build\hdf5.vcxproj]
C:\Program Files\HDF_Group\HDF5\1.12.0\include\H5Opublic.h(188,15): message : see declaration of 'H5Oget_info_by_name3' (compiling source file ..\src\methods.cc) [app\node_modules\hdf5\build\hdf5.vcxproj]
app\node_modules\hdf5\src\methods.cc(1066,27): error C2660: 'H5Oget_info3': function does not take 2 arguments [app\node_modules\hdf5\build\hdf5.vcxproj]
C:\Program Files\HDF_Group\HDF5\1.12.0\include\H5Opublic.h(187,15): message : see declaration of 'H5Oget_info3' (compiling source file ..\src\methods.cc) [app\node_modules\hdf5\build\hdf5.vcxproj]
app\node_modules\hdf5\src\methods.cc(1081,78): error C2660: 'H5Oget_info_by_name3': function does not take 4 arguments [app\node_modules\hdf5\build\hdf5.vcxproj]
C:\Program Files\HDF_Group\HDF5\1.12.0\include\H5Opublic.h(188,15): message : see declaration of 'H5Oget_info_by_name3' (compiling source file ..\src\methods.cc) [app\node_modules\hdf5\build\hdf5.vcxproj]
app\node_modules\hdf5\src\h5_group.cc(192,30): warning C4101: 'ex': unreferenced local variable [app\node_modules\hdf5\build\hdf5.vcxproj]
     Creating library app\node_modules\hdf5\build\Release\h5ds.lib and object app\node_modules\hdf5\build\Release\h5ds.exp
     Creating library app\node_modules\hdf5\build\Release\h5pt.lib and object app\node_modules\hdf5\build\Release\h5pt.exp
     Creating library app\node_modules\hdf5\build\Release\h5im.lib and object app\node_modules\hdf5\build\Release\h5im.exp
  h5ds.vcxproj -> app\node_modules\hdf5\build\Release\\h5ds.node
  h5im.vcxproj -> app\node_modules\hdf5\build\Release\\h5im.node
  h5pt.vcxproj -> app\node_modules\hdf5\build\Release\\h5pt.node
     Creating library app\node_modules\hdf5\build\Release\h5tb.lib and object app\node_modules\hdf5\build\Release\h5tb.exp
  h5tb.vcxproj -> app\node_modules\hdf5\build\Release\\h5tb.node
     Creating library app\node_modules\hdf5\build\Release\h5lt.lib and object app\node_modules\hdf5\build\Release\h5lt.exp
  h5lt.vcxproj -> app\node_modules\hdf5\build\Release\\h5lt.node
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (%HOME%\AppData\Roaming\nvm\v14.4.0\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--jobs" "max"
gyp ERR! cwd app\node_modules\hdf5
gyp ERR! node -v v14.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

By the way I have installed node-gyp v7.0.0 (confirmed by node-gyp -v), but not sure why yarn keeps using v5.1.0.

Update: node 12 works fine on Linux if we care a little bit more about the library paths, but still fails on Windows with similar errors, such as 'H5Oget_info_by_name3': function does not take 4 arguments.

ahmedglas commented 4 years ago

having problems with npm install hdf5

Node version:12.8.3

SO: Mac Os Catalina

same with node version : 11.15.0


> node-gyp rebuild --jobs max

  CXX(target) Release/obj.target/h5ds/src/h5ds.o
  CXX(target) Release/obj.target/h5im/src/h5im.o
  CXX(target) Release/obj.target/h5lt/src/int64.o
  CXX(target) Release/obj.target/h5lt/src/uint64.o
clangclang: : clang: clang: warningwarning: warning: : argument unused during compilation: '-shared' [-Wunused-command-line-argument]argument unused during compilation: '-shared' [-Wunused-command-line-argument]argument unused during compilation: '-shared' [-Wunused-command-line-argument]

warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
In file included from ../src/h5im.cc:2:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/h5ds.cc:2:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/h5im.cc:2:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
In file included from ../src/h5ds.cc:2:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
In file included from ../src/h5im.cc:4:
../src/h5_im.hpp:24:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "makeImage", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:26:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readImage", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:28:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readImageRegion", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:30:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "isImage", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:32:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "getImageInfo", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:34:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "makePalette", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:162:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), width));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:163:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), height));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:164:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:165:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:166:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:168:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
          v8::Local<v8::Function>::New(v8::Isolate::GetCurrent(), callback)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:171:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), width));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:172:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), height));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:173:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:174:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:175:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:280:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), count.get()[0]));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:281:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), count.get()[1]));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:282:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:283:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:284:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/h5ds.cc:4:
../src/h5_ds.hpp:23:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "setScale", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:25:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "attachScale", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:318:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "width", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), width));
     ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:27:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "detachScale", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:319:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "height", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), height));
     ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:29:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "isAttached", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:320:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "planes", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), planes));
     ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:31:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "isScale", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:321:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "interlace", v8::NewStringType::kNormal).ToLocalChecked(), String::NewFromUtf8(v8::Isolate::GetCurrent(), interlace, v8::NewStringType::kNormal).ToLocalChecked());
     ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:33:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "iterateScale", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_im.hpp:322:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...attrs->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "npals", v8::NewStringType::kNormal).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), npals));
     ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:35:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "setLabel", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:37:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "getLabel", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:39:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "getScaleName", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:41:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "getNumberOfScales", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:196:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
            v8::Local<v8::Function>::New(v8::Isolate::GetCurrent(), callback)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_ds.hpp:207:41: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...((v8::Local<v8::Function>*)visitor_data)[0]->Call(
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX(target) Release/obj.target/h5lt/src/h5lt.o
  CXX(target) Release/obj.target/h5lt/src/reference.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
In file included from ../src/h5lt.cc:2:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/h5lt.cc:2:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
  CXX(target) Release/obj.target/h5pt/src/h5pt.o
In file included from ../src/h5lt.cc:4:
../src/h5_lt.hpp:80:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "makeDataset", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:82:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "writeDataset", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:84:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readDatasetLength", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:86:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readDatasetDatatype", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:88:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readDataset", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:90:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readDatasetAsBuffer", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:103:158: warning: 'ToBoolean' is deprecated: Use maybe version
      clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
[-Wdeprecated-declarations]
  ...names->Get(context, index).ToLocalChecked()).ToLocalChecked()->ToBoolean...
                                                                    ^
/Users/ahmed/.node-gyp/11.15.0/include/node/v8.h:2533:3: note: 'ToBoolean' has
      been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/ahmed/.node-gyp/11.15.0/include/node/v8config.h:326:29: note: expanded
      from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../src/h5lt.cc:4:
../src/h5_lt.hpp:245:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
            array->Set(context, arrayIndex, arrayCheck);
            ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:253:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
              array->Set(context, arrayIndex,
              ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:965:30: warning: unused variable 'context' [-Wunused-variable]
      v8::Local<v8::Context> context = isolate->GetCurrentContext();
                             ^
../src/h5_lt.hpp:1539:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
              array->Set(context,
              ^~~~~~~~~~ ~~~~~~~~
../src/h5_lt.hpp:1567:21: warning: unused variable 'realLength'
      [-Wunused-variable]
            hsize_t realLength=0;
                    ^
../src/h5_lt.hpp:1661:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...int64Buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "type", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1756:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rank", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), rank));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1758:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "endian", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), order));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1761:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1762:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[3]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1763:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1764:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "files", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1767:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1768:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1769:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1772:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1773:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1776:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1791:21: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...enumeration->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), mname, v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), dvalue)...
     ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1798:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "enumeration", v8::NewStringType::kInternalized).ToLocalChecked(), enumeration);
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1802:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
            v8::Local<v8::Function>::New(v8::Isolate::GetCurrent(), callback)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:1991:11: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "type", v8::NewStringType::kInternalized).ToLocalChecked(), Int32::New(v8::Isolate::GetCurrent(), etype));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2003:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rank", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), rank));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2005:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "endian", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), order));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2008:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2009:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[3]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2010:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2011:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "files", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2014:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2015:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[2]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2016:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2019:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2020:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[1]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2023:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...options->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), values_dim.get()[0]));
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2027:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
            v8::Local<v8::Function>::New(v8::Isolate::GetCurrent(), callback)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2030:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rank", v8::NewStringType::kInternalized).ToLocalChecked(), Number::New(v8::Isolate::GetCurrent(), rank));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2033:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2035:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2037:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2039:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "files", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2043:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2045:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2047:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "sections", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2051:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2054:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "columns", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_lt.hpp:2058:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "rows", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 warnings generated.
  CXX(target) Release/obj.target/h5pt/src/h5_pt.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
In file included from ../src/h5pt.cc:2:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/h5pt.cc:2:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
29 warnings generated.
  CXX(target) Release/obj.target/h5tb/src/h5tb.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
In file included from ../src/h5pt.cc:4:
../src/h5_pt.hpp:36:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, v8::String::NewFromUtf8(isolate, "PacketTable", v8::NewStringType::kInternalized).ToLocalChecked(), tpl->GetFunction(context).ToLocalChecked());
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:87:9: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
        record->Set(context,
        ^~~~~~~~~~~ ~~~~~~~~
../src/h5_pt.hpp:91:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...args.This()->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "record", v8::NewStringType::kInternalized).ToLocalChecked(), record);
     ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:140:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "makeTable", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:142:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readTable", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:230:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...record->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), H5Tget_member_name(type, memberIndex), v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:233:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...record->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), H5Tget_member_name(type, memberIndex), v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:244:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...pt->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "nrecords", v8::NewStringType::kInternalized).ToLocalChecked(), Uint32::New(v8::Isolate::GetCurrent(), nrecords));
     ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:245:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...pt->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "record", v8::NewStringType::kInternalized).ToLocalChecked(), record);
     ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/h5_pt.cc:4:
In file included from ../src/h5_pt.hpp:10:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/h5_pt.cc:4:
In file included from ../src/h5_pt.hpp:10:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
In file included from ../src/h5_pt.cc:4:
../src/h5_pt.hpp:36:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, v8::String::NewFromUtf8(isolate, "PacketTable", v8::NewStringType::kInternalized).ToLocalChecked(), tpl->GetFunction(context).ToLocalChecked());
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:87:9: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
        record->Set(context,
        ^~~~~~~~~~~ ~~~~~~~~
../src/h5_pt.hpp:91:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...args.This()->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "record", v8::NewStringType::kInternalized).ToLocalChecked(), record);
     ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:140:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "makeTable", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:142:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readTable", v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:230:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...record->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), H5Tget_member_name(type, memberIndex), v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:233:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...record->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), H5Tget_member_name(type, memberIndex), v8::NewStringType::kInternalized).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:244:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...pt->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "nrecords", v8::NewStringType::kInternalized).ToLocalChecked(), Uint32::New(v8::Isolate::GetCurrent(), nrecords));
     ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_pt.hpp:245:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...pt->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "record", v8::NewStringType::kInternalized).ToLocalChecked(), record);
     ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/h5tb.cc:2:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/h5tb.cc:2:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
In file included from ../src/h5tb.cc:4:
../src/h5_tb.hpp:30:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "makeTable", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:32:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readTable", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:34:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "appendRecords", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:36:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "writeRecords", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:38:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readRecords", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:40:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "deleteRecord", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:42:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "insertRecord", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:44:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "writeFieldsName", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:46:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "writeFieldsIndex", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:48:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readFieldsName", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:50:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "readFieldsIndex", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:52:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "getTableInfo", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:54:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "getFieldInfo", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:56:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "deleteField", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:58:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "insertField", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:60:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "addRecordsFrom", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:62:7: warning: ignoring return value of function declared with
      'warn_unused_result' attribute [-Wunused-result]
  ...exports->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "combineTables", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:284:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:290:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:293:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
              table->Set(context, i, buffer);
              ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:297:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:303:17: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:306:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
              table->Set(context, i, buffer);
              ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:344:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:349:21: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:352:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
                  table->Set(context, i, buffer);
                  ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:356:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:361:21: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:364:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
                  table->Set(context, i, buffer);
                  ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:371:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:376:21: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:379:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
                  table->Set(context, i, buffer);
                  ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:383:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:388:21: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:391:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
                  table->Set(context, i, buffer);
                  ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:398:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:403:21: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:406:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
                  table->Set(context, i, buffer);
                  ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:410:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:415:21: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::Number::New(v8::Isolate::GetCurrent(), value));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:418:19: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
                  table->Set(context, i, buffer);
                  ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:425:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, String::NewFromUtf8(v8::Isolate::GetCurrent(), "name", v8::NewStringType::kNormal).ToLocalChecked(),
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:429:15: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...buffer->Set(context, j, v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), cell.c_str(), v8::NewStringType::kNormal).ToLocalChecked());
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/h5_tb.hpp:432:13: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
            table->Set(context, i, buffer);
            ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
11 warnings generated.
11 warnings generated.
  CXX(target) Release/obj.target/hdf5/src/int64.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
  CXX(target) Release/obj.target/hdf5/src/uint64.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
  CXX(target) Release/obj.target/hdf5/src/hdf5.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
  CXX(target) Release/obj.target/hdf5/src/attributes.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
In file included from ../src/hdf5.cc:2:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/hdf5.cc:2:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
In file included from ../src/attributes.cc:6:
In file included from ../src/attributes.hpp:16:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/attributes.cc:6:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
2 warnings generated.
2 warnings generated.
  CXX(target) Release/obj.target/hdf5/src/methods.o
  CXX(target) Release/obj.target/hdf5/src/h5_file.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
46 warnings generated.
  CXX(target) Release/obj.target/hdf5/src/h5_group.o
clang: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
In file included from ../src/methods.cc:6:
In file included from ../src/attributes.hpp:16:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/methods.cc:6:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
../src/methods.cc:26:20: warning: unused variable 'err' [-Wunused-variable]
            herr_t err = H5Adelete(group->id, (const char*)*attribute_name);
                   ^
../src/methods.cc:19:28: warning: unused variable 'context' [-Wunused-variable]
    v8::Local<v8::Context> context = isolate->GetCurrentContext();
                           ^
../src/methods.cc:122:16: warning: unused variable 'err' [-Wunused-variable]
        herr_t err = H5Adelete(group->id, (const char*)*attribute_name);
               ^
../src/methods.cc:381:23: error: no matching function for call to
      'H5Oget_info_by_name3'
    herr_t      err = H5Oget_info_by_name(group->id, *dset_name, &object...
                      ^~~~~~~~~~~~~~~~~~~
/usr/local/include/H5version.h:772:31: note: expanded from macro
      'H5Oget_info_by_name'
  #define H5Oget_info_by_name H5Oget_info_by_name3
                              ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/H5Opublic.h:188:15: note: candidate function not viable:
      requires 5 arguments, but 4 were provided
H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_i...
              ^
../src/methods.cc:726:23: error: no matching function for call to
      'H5Oget_info_by_name3'
    herr_t      err = H5Oget_info_by_name(group->id, *dset_name, &object...
                      ^~~~~~~~~~~~~~~~~~~
/usr/local/include/H5version.h:772:31: note: expanded from macro
      'H5Oget_info_by_name'
  #define H5Oget_info_by_name H5Oget_info_by_name3
                              ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/H5Opublic.h:188:15: note: candidate function not viable:
      requires 5 arguments, but 4 were provided
H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_i...
              ^
../src/methods.cc:1066:5: error: no matching function for call to 'H5Oget_info3'
    H5Oget_info(id, &oinfo);
    ^~~~~~~~~~~
/usr/local/include/H5version.h:746:23: note: expanded from macro 'H5Oget_info'
  #define H5Oget_info H5Oget_info3
                      ^~~~~~~~~~~~
/usr/local/include/H5Opublic.h:187:15: note: candidate function not viable:
      requires 3 arguments, but 2 were provided
H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
              ^
../src/methods.cc:1081:24: error: no matching function for call to
      'H5Oget_info_by_name3'
    herr_t ret_value = H5Oget_info_by_name(id, objname, &objinfo, H5P_DEFAULT);
                       ^~~~~~~~~~~~~~~~~~~
/usr/local/include/H5version.h:772:31: note: expanded from macro
      'H5Oget_info_by_name'
  #define H5Oget_info_by_name H5Oget_info_by_name3
                              ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/H5Opublic.h:188:15: note: candidate function not viable:
      requires 5 arguments, but 4 were provided
H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_i...
              ^
../src/methods.cc:1125:41: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...((v8::Local<v8::Function>*)op_data)[0]->Call(
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/methods.cc:1164:41: warning: ignoring return value of function declared
      with 'warn_unused_result' attribute [-Wunused-result]
  ...((v8::Local<v8::Function>*)op_data)[0]->Call(
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/h5_file.cc:12:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
7 warnings and 4 errors generated.
make: *** [Release/obj.target/hdf5/src/methods.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../src/h5_file.cc:12:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
../src/h5_file.cc:35:60: error: no matching member function for call to
      'BooleanValue'
      return options->Get(context, name).ToLocalChecked()->BooleanValue(...
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/ahmed/.node-gyp/11.15.0/include/node/v8.h:2560:37: note: candidate
      function not viable: no known conversion from 'v8::Isolate *' to
      'Local<v8::Context>' for 1st argument
  V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(Local<Context> context) const;
                                    ^
/Users/ahmed/.node-gyp/11.15.0/include/node/v8.h:2568:43: note: candidate
      function not viable: requires 0 arguments, but 1 was provided
  V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
                                          ^
In file included from ../src/h5_group.cc:11:
In file included from ../src/file.h:14:
../src/exceptions.hpp:19:25: warning: 'NodeHDF5::Exception::what' hides
      overloaded virtual function [-Woverloaded-virtual]
    virtual const char* what(){return message.c_str();};
                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:102:25: note: 
      hidden overloaded virtual function 'std::exception::what' declared here:
      different qualifiers ('const' vs unqualified)
    virtual const char* what() const _NOEXCEPT;
                        ^
In file included from ../src/h5_group.cc:11:
In file included from ../src/file.h:16:
../src/attributes.hpp:316:14: warning: comparison of two values with different
      enumeration types in switch statement ('H5S_class_t' and 'H5T_class_t')
      [-Wenum-compare-switch]
        case H5T_NO_CLASS:
             ^~~~~~~~~~~~
../src/h5_group.cc:34:60: error: no matching member function for call to
      'BooleanValue'
      return options->Get(context, name).ToLocalChecked()->BooleanValue(...
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/ahmed/.node-gyp/11.15.0/include/node/v8.h:2560:37: note: candidate
      function not viable: no known conversion from 'v8::Isolate *' to
      'Local<v8::Context>' for 1st argument
  V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(Local<Context> context) const;
                                    ^
/Users/ahmed/.node-gyp/11.15.0/include/node/v8.h:2568:43: note: candidate
      function not viable: requires 0 arguments, but 1 was provided
  V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
                                          ^
2 warnings and 1 error generated.
make: *** [Release/obj.target/hdf5/src/h5_file.o] Error 1
2 warnings and 1 error generated.
make: *** [Release/obj.target/hdf5/src/h5_group.o] Error 1
55 warnings generated.
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:193:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12)
gyp ERR! System Darwin 19.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--jobs" "max"
gyp ERR! cwd /Users/ahmed/Desktop/ReactSleepLogger/node_modules/hdf5
gyp ERR! node -v v11.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN jsdom@15.2.1 requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @react-native-community/cli@4.10.1 requires a peer of react-native@^0.62.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hdf5@0.3.5 install: `node-gyp rebuild --jobs max`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the hdf5@0.3.5 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/ahmed/.npm/_logs/2020-08-09T15_37_07_193Z-debug.log````
rimmartin commented 4 years ago

@chadbr v12 branch is building and tests succeed with node-v14.8.0-linux-x64. travis is grinding thru

chadbr commented 4 years ago

Woohoo!! Thanks!

Getting better all the time.

💪💪

ahmedglas commented 4 years ago

@chadbr @rimmartin still having same issues OS : windows10 node -v : v12.18.3

mbelem commented 3 years ago

Hello. I am having the following issues when trying to install hdf5 from npm. Anyone knows how to solve this? Kind regards.

soil4ever@soil4ever:~/soil4ever/html/myfirstreact$ sudo npm install hdf5

hdf5@0.3.5 install /home/soil4ever/soil4ever/html/myfirstreact/node_modules/hdf5 node-gyp rebuild --jobs max

gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/soil4ever/soil4ever/html/myfirstreact/node_modules/hdf5/build' gyp ERR! System Linux 4.15.0-121-generic gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--jobs" "max" gyp ERR! cwd /home/soil4ever/soil4ever/html/myfirstreact/node_modules/hdf5 gyp ERR! node -v v14.15.3 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN @react-leaflet/core@1.0.2 requires a peer of leaflet@^1.7.1 but none is installed. You must install peer dependencies yourself. npm WARN @react-leaflet/core@1.0.2 requires a peer of react@^17.0.1 but none is installed. You must install peer dependencies yourself. npm WARN @react-leaflet/core@1.0.2 requires a peer of react-dom@^17.0.1 but none is installed. You must install peer dependencies yourself. npm WARN react-leaflet@3.0.4 requires a peer of leaflet@^1.7.1 but none is installed. You must install peer dependencies yourself. npm WARN react-leaflet@3.0.4 requires a peer of react@^17.0.1 but none is installed. You must install peer dependencies yourself. npm WARN react-leaflet@3.0.4 requires a peer of react-dom@^17.0.1 but none is installed. You must install peer dependencies yourself. npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hdf5@0.3.5 install: node-gyp rebuild --jobs max npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hdf5@0.3.5 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! /home/soil4ever/.npm/_logs/2020-12-19T00_05_25_276Z-debug.log

rimmartin commented 3 years ago

the v12 branch is now merged into the master. If it tests out well I'll publish again

arnoldmq commented 3 years ago

Thanks for your continued hard work @rimmartin

fwiw @ashaffer we've been pulling directly from the branch since we moved to node 12.

    "hdf5": "git+https://git@github.com/HDF-NI/hdf5.node.git#v12",

@chadbr what is your setup that works with this branch (os, build tools vs,node versions 12.x.x)

chadbr commented 3 years ago

@ashaffer Hey Danny - I haven't worked on that project for almost 9 months.

Do you have a repo I can try out?

Did you install the VS compilers? see the long walk through here: https://github.com/HDF-NI/hdf5.node/issues/98

baojd42 commented 3 years ago

@rimmartin Hi, I have an error when compiling with node 12.18.3. The error is shown below. image After checking the codes, I noticed that when "type" is not passed to NewUtf8, it calls the deprecated api, which does not use the preferred Maybe version. And it seems like this is the only place where the "type" is omitted. Should the v8::NewStringType::kNormal be passed to this function for compatibility purpose?

BlackJaecky commented 3 years ago

Hello, i tried to install the hdf5.node package on a raspberry pi. Node.js version: v12.22.1 I tried it with npm and yarn. Both fail at the same point with the following error during build:

CXX(target) Release/obj.target/hdf5/src/attributes.o In file included from /usr/include/c++/8/map:60, from ../src/file.h:2, from ../src/h5lt.cc:2: /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = NodeHDF5::H5T; _Val = std::pair<const NodeHDF5::H5T, long long int>; _KeyOfValue = std::_Select1st<std::pair<const NodeHDF5::H5T, long long int> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const NodeHDF5::H5T, long long int> >]’: /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<NodeHDF5::H5T, std::pair<const NodeHDF5::H5T, long long int>, std::_Select1st<std::pair<const NodeHDF5::H5T, long long int> >, std::less, std::allocator<std::pair<const NodeHDF5::H5T, long long int> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const NodeHDF5::H5T, long long int> >’} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ CXX(target) Release/obj.target/hdf5/src/methods.o CXX(target) Release/obj.target/hdf5/src/h5_file.o /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = long long int; _Val = std::pair<const long long int, NodeHDF5::H5T>; _KeyOfValue = std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const long long int, NodeHDF5::H5T> >]’: /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<long long int, std::pair<const long long int, NodeHDF5::H5T>, std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >, std::less, std::allocator<std::pair<const long long int, NodeHDF5::H5T> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long int, NodeHDF5::H5T> >’} changed in GCC 7.1 ../src/methods.cc: In static member function ‘static void NodeHDF5::Methods::readAttribute(const v8::FunctionCallbackInfo&)’: ../src/methods.cc:84:99: warning: ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate, const char, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Exception::Error(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ss.str().c_str()).ToLocalChecked())); ^ In file included from /home/pi/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:27, from ../src/hdf5V8.hpp:3, from ../src/methods.cc:6: /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:3032:21: note: declared here Local NewFromUtf8(Isolate isolate, const char data, ^~~ /home/pi/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/methods.cc:84:99: warning: ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate, const char, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Exception::Error(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ss.str().c_str()).ToLocalChecked())); ^ In file included from /home/pi/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:27, from ../src/hdf5V8.hpp:3, from ../src/methods.cc:6: /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:3032:21: note: declared here Local NewFromUtf8(Isolate isolate, const char data, ^~~ /home/pi/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/methods.cc:84:101: error: ‘class v8::Local’ has no member named ‘ToLocalChecked’ v8::Exception::Error(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ss.str().c_str()).ToLocalChecked())); ^~~~~~ CXX(target) Release/obj.target/hdf5/src/h5_group.o make: [hdf5.target.mk:128: Release/obj.target/hdf5/src/methods.o] Error 1 make: Waiting for unfinished jobs.... yarn installIn file included from /usr/include/c++/8/vector:69, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_file.cc:3: /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector::iterator’ {aka ‘gnu_cxx::normal_iterator<long long int*, std::vector >’} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/8/vector:64, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_file.cc:3: /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::File::CreateGroup(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ In file included from /usr/include/c++/8/vector:69, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_group.cc:1: /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector::iterator’ {aka ‘gnu_cxx::normal_iterator<long long int*, std::vector >’} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/8/vector:64, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_group.cc:1: /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::Group::Open(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int*, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int*, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::Group::New(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::Group::Create(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int*, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int*, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int*, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int*, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ make: Leaving directory '/home/pi/hdf5.node/build'

Is there a suggested solution to solve or work around the problem?

Thanks for your help! BlackJaecky

baojd42 commented 3 years ago

@BlackJaecky I think two options can help.

  1. Use nodejs 14.16.10. That is the version I am using now and it compiles fine.
  2. Change the code a little bit. Go to this line below. image And change v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ss.str().c_str()) to v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ss.str().c_str(), v8::NewStringType::kNormal). That is what I did when I was using v12.18.3
BlackJaecky commented 3 years ago

@BlackJaecky I think two options can help.

  1. Use nodejs 14.16.10. That is the version I am using now and it compiles fine.
  2. Change the code a little bit. Go to this line below. image And change v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ss.str().c_str()) to v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ss.str().c_str(), v8::NewStringType::kNormal). That is what I did when I was using v12.18.3

Thanks @baojd42 , that helped a little. But still can't install / build the hdf5.node:

In file included from /usr/include/c++/8/map:60, from ../src/file.h:2, from ../src/h5lt.cc:2: /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = NodeHDF5::H5T; _Val = std::pair<const NodeHDF5::H5T, long long int>; _KeyOfValue = std::_Select1st<std::pair<const NodeHDF5::H5T, long long int> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const NodeHDF5::H5T, long long int> >]’: /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<NodeHDF5::H5T, std::pair<const NodeHDF5::H5T, long long int>, std::_Select1st<std::pair<const NodeHDF5::H5T, long long int> >, std::less, std::allocator<std::pair<const NodeHDF5::H5T, long long int> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const NodeHDF5::H5T, long long int> >’} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ CXX(target) Release/obj.target/hdf5/src/methods.o CXX(target) Release/obj.target/hdf5/src/h5_file.o /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = long long int; _Val = std::pair<const long long int, NodeHDF5::H5T>; _KeyOfValue = std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const long long int, NodeHDF5::H5T> >]’: /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<long long int, std::pair<const long long int, NodeHDF5::H5T>, std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >, std::less, std::allocator<std::pair<const long long int, NodeHDF5::H5T> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long int, NodeHDF5::H5T> >’} changed in GCC 7.1 CXX(target) Release/obj.target/hdf5/src/h5_group.o CXX(target) Release/obj.target/hdf5/src/reference.o In file included from /usr/include/c++/8/map:60, from ../src/int64.hpp:2, from ../src/reference.hpp:14, from ../src/methods.cc:7: /usr/include/c++/8/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<long long int&&>, std::tuple<>}; _Key = long long int; _Val = std::pair<const long long int, NodeHDF5::H5T>; _KeyOfValue = std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const long long int, NodeHDF5::H5T> >]’: /usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type ‘std::_Rb_tree<long long int, std::pair<const long long int, NodeHDF5::H5T>, std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >, std::less, std::allocator<std::pair<const long long int, NodeHDF5::H5T> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long int, NodeHDF5::H5T> >’} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ In file included from /usr/include/c++/8/map:61, from ../src/int64.hpp:2, from ../src/reference.hpp:14, from ../src/methods.cc:7: /usr/include/c++/8/bits/stl_map.h: In static member function ‘static herr_t NodeHDF5::Methods::visit(const v8::FunctionCallbackInfo&)::<lambda(hid_t, const char, const H5L_info_t, void)>::_FUN(hid_t, const char, const H5L_info_t, void)’: /usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type ‘std::_Rb_tree<long long int, std::pair<const long long int, NodeHDF5::H5T>, std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >, std::less, std::allocator<std::pair<const long long int, NodeHDF5::H5T> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long int, NodeHDF5::H5T> >’} changed in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, /usr/include/c++/8/bits/stl_map.h: In static member function ‘static herr_t NodeHDF5::Methods::iterate(const v8::FunctionCallbackInfo&)::<lambda(hid_t, const char, const H5L_info_t, void)>::_FUN(hid_t, const char, const H5L_info_t, void)’: /usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type ‘std::_Rb_tree<long long int, std::pair<const long long int, NodeHDF5::H5T>, std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >, std::less, std::allocator<std::pair<const long long int, NodeHDF5::H5T> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long int, NodeHDF5::H5T> >’} changed in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, SOLINK_MODULE(target) Release/obj.target/h5ds.node /usr/bin/ld: cannot find -lhdf5 /usr/bin/ld: cannot find -lhdf5_hl collect2: error: ld returned 1 exit status make: [h5ds.target.mk:151: Release/obj.target/h5ds.node] Error 1 make: Waiting for unfinished jobs.... In file included from /usr/include/c++/8/vector:69, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_file.cc:3: /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector::iterator’ {aka ‘gnu_cxx::normal_iterator<long long int*, std::vector >’} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/8/vector:64, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_file.cc:3: /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::File::CreateGroup(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ In file included from /usr/include/c++/8/map:60, from ../src/int64.hpp:2, from ../src/reference.hpp:14, from ../src/methods.cc:7: /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = NodeHDF5::H5T; _Val = std::pair<const NodeHDF5::H5T, long long int>; _KeyOfValue = std::_Select1st<std::pair<const NodeHDF5::H5T, long long int> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const NodeHDF5::H5T, long long int> >]’: /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<NodeHDF5::H5T, std::pair<const NodeHDF5::H5T, long long int>, std::_Select1st<std::pair<const NodeHDF5::H5T, long long int> >, std::less, std::allocator<std::pair<const NodeHDF5::H5T, long long int> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const NodeHDF5::H5T, long long int> >’} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = long long int; _Val = std::pair<const long long int, NodeHDF5::H5T>; _KeyOfValue = std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const long long int, NodeHDF5::H5T> >]’: /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<long long int, std::pair<const long long int, NodeHDF5::H5T>, std::_Select1st<std::pair<const long long int, NodeHDF5::H5T> >, std::less, std::allocator<std::pair<const long long int, NodeHDF5::H5T> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long int, NodeHDF5::H5T> >’} changed in GCC 7.1 In file included from /usr/include/c++/8/vector:69, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_group.cc:1: /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector::iterator’ {aka ‘__gnu_cxx::normal_iterator<long long int, std::vector >’} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~ In file included from /usr/include/c++/8/vector:64, from /home/pi/.cache/node-gyp/12.22.1/include/node/v8.h:25, from /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../src/h5_group.cc:1: /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::Group::Open(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::Group::New(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h: In static member function ‘static void NodeHDF5::Group::Create(const v8::FunctionCallbackInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), x); ^~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int*, std::vector >’ changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~ make: Leaving directory '/home/pi/hdf5.node/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 5.10.17-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--jobs" "max" gyp ERR! cwd /home/pi/hdf5.node gyp ERR! node -v v12.22.1 gyp ERR! node-gyp -v v7.1.2 gyp ERR! not ok npm ERR! code 1 npm ERR! path /home/pi/hdf5.node npm ERR! command failed npm ERR! command sh -c node-gyp rebuild --jobs max

Thanks for your help! BlackJaecky

baojd42 commented 3 years ago

@BlackJaecky Here it complains about hdf5 not found. image Did you correctly install the hdf5 library and provide the correct path to search for it? You can check the path in the file /your/workdir/node_modules/hdf5/binding.gyp

BlackJaecky commented 3 years ago

Ok thanks for your help. Yeah, I pointed to the wrong hdf5 folder. It is now installing without error. But I get two high severity vulnerabilities, but fixed them:

But the test fails with the following errors:

Comment added: Tried to create and edit a file and it works fine. Apparently only the test does not work.