Just to clarify, either of the 4 options should solve the issue, no need to
do all of them. :)

On Wed, Nov 15, 2023 at 7:14 PM Matthias Liedtke <[email protected]>
wrote:

> Hi,
> This seems to be an issue with the combination of GCC's standard library
> in combination with Clang as a compiler and the Warning
> -Wctad-maybe-unsupported enabled plus -Werror.
> See: https://godbolt.org/z/xTbr9W1oT
>
> You should be able to solve this issue by:
> A) Adding -stdlib=libc++ to your compiler invocation.
> B) Compiling with GCC.
> C) Not configuring warnings as errors.
> D) Switching to a newer version of the source code. The code in question
> has already been removed in
> https://chromium-review.googlesource.com/c/v8/v8/+/4980266 (although just
> due to the algorithm being changed).
>
> Best regards,
> Matthias
>
> On Wed, Nov 15, 2023 at 6:14 PM Michel Araujo <[email protected]>
> wrote:
>
>> Hi guys,
>> 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?
>>
>> --
>> --
>> v8-dev mailing list
>> [email protected]
>> http://groups.google.com/group/v8-dev
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "v8-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/v8-dev/66340f29-7445-414b-9776-e79a88fed7ean%40googlegroups.com
>> <https://groups.google.com/d/msgid/v8-dev/66340f29-7445-414b-9776-e79a88fed7ean%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/CACx9iAP6jFhTtugjxON0MnaS5kZFh2nqcg5uHmO9z27VUw%3DZ0A%40mail.gmail.com.

Reply via email to