Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2018 09:24:57 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Ian FREISLICH <ian.freislich@capeaugusta.com>
Cc:        current <current@freebsd.org>
Subject:   Re: Clang-6 and GNUisms.
Message-ID:  <1sgp-n1k6-wny@FreeBSD.org>
In-Reply-To: <4ea06b48-d451-f2b3-4c20-4963f829333b@capeaugusta.com> (Ian FREISLICH's message of "Sun, 11 Mar 2018 19:56:35 -0400")
References:  <4ea06b48-d451-f2b3-4c20-4963f829333b@capeaugusta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian FREISLICH <ian.freislich@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1sgp-n1k6-wny>