I'm trying to run the Getting started with embedding V8 - Hello World example and I got stuck with "ninja" command,
I made all previous steps but when I run (step 4 in
https://v8.dev/docs/embed):
ninja -C out.gn/x64.release.sample v8_monolith
I got this erros:
../../src/compiler/turboshaft/wasm-gc-type-reducer.cc:117:18: error: 'back_insert_iterator' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
117 | std::back_insert_iterator(snapshots), [this](Block* pred) {
| ^
../../build/linux/debian_bullseye_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_iterator.h:596:11: note: add a deduction guide to suppress this warning
596 | class back_insert_iterator
| ^
1 error generated.
Someone can help me?