Clang-6 and GNUisms.

Jan Beich jbeich at FreeBSD.org
Mon Mar 12 08:25:03 UTC 2018


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


More information about the freebsd-current mailing list