Re: Clang-6 and GNUisms.

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 12 Mar 2018 09:24:57 +0100
Ian FREISLICH <ian.freislich_at_capeaugusta.com> writes:

> /usr/ports/lang/v8/work/v8-3.18.5/out/native/obj.target/v8_base.x64/src/type-info.o../src/stub-cache.cc:1477:33:
> error: reinterpret_cast from 'nullptr_t' to 'char *' is not allowed
>       : GetCodeWithFlags(flags, reinterpret_cast<char*>(NULL));
>                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Try using static_cast instead e.g.,
https://freshbsd.org/search?q=reinterpret_cast+from+%27nullptr_t%27+to

Which is caused by
https://svnweb.freebsd.org/changeset/base/228918
Received on Mon Mar 12 2018 - 07:25:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC