Skip to content

Instantly share code, notes, and snippets.

@JamieMagee
Last active August 29, 2019 20:15
Show Gist options
  • Save JamieMagee/71899f12395d0965e3b45cb61dd90a3d to your computer and use it in GitHub Desktop.
Save JamieMagee/71899f12395d0965e3b45cb61dd90a3d to your computer and use it in GitHub Desktop.
$ yarn
yarn install v1.17.3
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ node-gyp rebuild
[########] 8/8make: Entering directory '/home/jamie/code/node-re2/build'
CXX(target) Release/obj.target/re2/lib/addon.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/addon.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../lib/./wrapped_re2.h:4,
from ../lib/addon.cc:1:
../lib/addon.cc: At global scope:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:556:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
556 | (node::addon_register_func) (regfunc), \
| ^
/home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
590 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../lib/addon.cc:76:1: note: in expansion of macro ‘NODE_MODULE’
76 | NODE_MODULE(re2, Initialize)
| ^~~~~~~~~~~
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/addon.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/new.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/new.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/new.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/exec.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/exec.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../lib/exec.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE WrappedRE2::Exec(Nan::NAN_METHOD_ARGS_TYPE)’:
../lib/exec.cc:108:67: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
108 | (void)groups->SetPrototype(Nan::GetCurrentContext(), Nan::Null());
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/exec.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:3572:37: note: declared here
3572 | V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
| ^~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/test.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/test.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/test.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/match.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/match.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../lib/match.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE WrappedRE2::Match(Nan::NAN_METHOD_ARGS_TYPE)’:
../lib/match.cc:131:68: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
131 | (void)groups->SetPrototype(Nan::GetCurrentContext(), Nan::Null());
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/match.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:3572:37: note: declared here
3572 | V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
| ^~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/replace.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/replace.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../lib/replace.cc: In function ‘Nan::Maybe<std::__cxx11::basic_string<char> > replace(const Nan::Callback*, const std::vector<re2::StringPiece>&, const re2::StringPiece&, const v8::Local<v8::Value>&, bool, const std::map<std::__cxx11::basic_string<char>, int>&)’:
../lib/replace.cc:322:50: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
322 | (void)groups->SetPrototype(context, Nan::Null());
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/replace.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:3572:37: note: declared here
3572 | V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
| ^~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/search.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/search.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/search.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/split.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/split.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/split.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/to_string.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/to_string.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/to_string.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/accessors.o
In file included from ../lib/./wrapped_re2.h:5,
from ../lib/accessors.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/./wrapped_re2.h:4,
from ../lib/accessors.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/lib/util.o
In file included from ../lib/././wrapped_re2.h:5,
from ../lib/./util.h:4,
from ../lib/util.cc:1:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /home/jamie/.cache/node-gyp/12.9.1/include/node/node.h:63,
from ../lib/././wrapped_re2.h:4,
from ../lib/./util.h:4,
from ../lib/util.cc:1:
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/jamie/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9893 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:65:61: required from here
/home/jamie/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/re2/vendor/re2/bitstate.o
CXX(target) Release/obj.target/re2/vendor/re2/compile.o
CXX(target) Release/obj.target/re2/vendor/re2/dfa.o
CXX(target) Release/obj.target/re2/vendor/re2/filtered_re2.o
CXX(target) Release/obj.target/re2/vendor/re2/mimics_pcre.o
CXX(target) Release/obj.target/re2/vendor/re2/nfa.o
CXX(target) Release/obj.target/re2/vendor/re2/onepass.o
CXX(target) Release/obj.target/re2/vendor/re2/parse.o
CXX(target) Release/obj.target/re2/vendor/re2/perl_groups.o
CXX(target) Release/obj.target/re2/vendor/re2/prefilter.o
CXX(target) Release/obj.target/re2/vendor/re2/prefilter_tree.o
CXX(target) Release/obj.target/re2/vendor/re2/prog.o
CXX(target) Release/obj.target/re2/vendor/re2/re2.o
CXX(target) Release/obj.target/re2/vendor/re2/regexp.o
CXX(target) Release/obj.target/re2/vendor/re2/set.o
CXX(target) Release/obj.target/re2/vendor/re2/simplify.o
CXX(target) Release/obj.target/re2/vendor/re2/stringpiece.o
CXX(target) Release/obj.target/re2/vendor/re2/tostring.o
CXX(target) Release/obj.target/re2/vendor/re2/unicode_casefold.o
CXX(target) Release/obj.target/re2/vendor/re2/unicode_groups.o
CXX(target) Release/obj.target/re2/vendor/util/pcre.o
CXX(target) Release/obj.target/re2/vendor/util/rune.o
CXX(target) Release/obj.target/re2/vendor/util/strutil.o
SOLINK_MODULE(target) Release/obj.target/re2.node
COPY Release/re2.node
make: Leaving directory '/home/jamie/code/node-re2/build'
Done in 37.78s.
make
g++ -c -o obj/util/rune.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG util/rune.cc
g++ -c -o obj/util/strutil.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG util/strutil.cc
g++ -c -o obj/re2/bitstate.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/bitstate.cc
g++ -c -o obj/re2/compile.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/compile.cc
g++ -c -o obj/re2/dfa.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/dfa.cc
g++ -c -o obj/re2/filtered_re2.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/filtered_re2.cc
g++ -c -o obj/re2/mimics_pcre.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/mimics_pcre.cc
g++ -c -o obj/re2/nfa.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/nfa.cc
g++ -c -o obj/re2/onepass.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/onepass.cc
g++ -c -o obj/re2/parse.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/parse.cc
g++ -c -o obj/re2/perl_groups.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/perl_groups.cc
g++ -c -o obj/re2/prefilter.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/prefilter.cc
g++ -c -o obj/re2/prefilter_tree.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/prefilter_tree.cc
g++ -c -o obj/re2/prog.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/prog.cc
g++ -c -o obj/re2/re2.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/re2.cc
g++ -c -o obj/re2/regexp.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/regexp.cc
g++ -c -o obj/re2/set.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/set.cc
g++ -c -o obj/re2/simplify.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/simplify.cc
g++ -c -o obj/re2/stringpiece.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/stringpiece.cc
g++ -c -o obj/re2/tostring.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/tostring.cc
g++ -c -o obj/re2/unicode_casefold.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/unicode_casefold.cc
g++ -c -o obj/re2/unicode_groups.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/unicode_groups.cc
ar rv obj/libre2.a obj/util/rune.o obj/util/strutil.o obj/re2/bitstate.o obj/re2/compile.o obj/re2/dfa.o obj/re2/filtered_re2.o obj/re2/mimics_pcre.o obj/re2/nfa.o obj/re2/onepass.o obj/re2/parse.o obj/re2/perl_groups.o obj/re2/prefilter.o obj/re2/prefilter_tree.o obj/re2/prog.o obj/re2/re2.o obj/re2/regexp.o obj/re2/set.o obj/re2/simplify.o obj/re2/stringpiece.o obj/re2/tostring.o obj/re2/unicode_casefold.o obj/re2/unicode_groups.o
ar: creating obj/libre2.a
a - obj/util/rune.o
a - obj/util/strutil.o
a - obj/re2/bitstate.o
a - obj/re2/compile.o
a - obj/re2/dfa.o
a - obj/re2/filtered_re2.o
a - obj/re2/mimics_pcre.o
a - obj/re2/nfa.o
a - obj/re2/onepass.o
a - obj/re2/parse.o
a - obj/re2/perl_groups.o
a - obj/re2/prefilter.o
a - obj/re2/prefilter_tree.o
a - obj/re2/prog.o
a - obj/re2/re2.o
a - obj/re2/regexp.o
a - obj/re2/set.o
a - obj/re2/simplify.o
a - obj/re2/stringpiece.o
a - obj/re2/tostring.o
a - obj/re2/unicode_casefold.o
a - obj/re2/unicode_groups.o
g++ -c -o obj/so/util/rune.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG util/rune.cc
g++ -c -o obj/so/util/strutil.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG util/strutil.cc
g++ -c -o obj/so/re2/bitstate.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/bitstate.cc
g++ -c -o obj/so/re2/compile.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/compile.cc
g++ -c -o obj/so/re2/dfa.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/dfa.cc
g++ -c -o obj/so/re2/filtered_re2.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/filtered_re2.cc
g++ -c -o obj/so/re2/mimics_pcre.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/mimics_pcre.cc
g++ -c -o obj/so/re2/nfa.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/nfa.cc
g++ -c -o obj/so/re2/onepass.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/onepass.cc
g++ -c -o obj/so/re2/parse.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/parse.cc
g++ -c -o obj/so/re2/perl_groups.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/perl_groups.cc
g++ -c -o obj/so/re2/prefilter.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/prefilter.cc
g++ -c -o obj/so/re2/prefilter_tree.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/prefilter_tree.cc
g++ -c -o obj/so/re2/prog.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/prog.cc
g++ -c -o obj/so/re2/re2.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/re2.cc
g++ -c -o obj/so/re2/regexp.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/regexp.cc
g++ -c -o obj/so/re2/set.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/set.cc
g++ -c -o obj/so/re2/simplify.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/simplify.cc
g++ -c -o obj/so/re2/stringpiece.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/stringpiece.cc
g++ -c -o obj/so/re2/tostring.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/tostring.cc
g++ -c -o obj/so/re2/unicode_casefold.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/unicode_casefold.cc
g++ -c -o obj/so/re2/unicode_groups.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O3 -g -DNDEBUG re2/unicode_groups.cc
g++ -shared -Wl,-soname,libre2.so.0,--version-script,libre2.symbols -pthread -o obj/so/libre2.so.0 obj/so/util/rune.o obj/so/util/strutil.o obj/so/re2/bitstate.o obj/so/re2/compile.o obj/so/re2/dfa.o obj/so/re2/filtered_re2.o obj/so/re2/mimics_pcre.o obj/so/re2/nfa.o obj/so/re2/onepass.o obj/so/re2/parse.o obj/so/re2/perl_groups.o obj/so/re2/prefilter.o obj/so/re2/prefilter_tree.o obj/so/re2/prog.o obj/so/re2/re2.o obj/so/re2/regexp.o obj/so/re2/set.o obj/so/re2/simplify.o obj/so/re2/stringpiece.o obj/so/re2/tostring.o obj/so/re2/unicode_casefold.o obj/so/re2/unicode_groups.o
ln -sf libre2.so.0 obj/so/libre2.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment