From owner-freebsd-current@freebsd.org Mon Mar 12 08:25:03 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0641FF2A5AC for ; Mon, 12 Mar 2018 08:25:03 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 913776EE80 for ; Mon, 12 Mar 2018 08:25:02 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4DA36F2A5A4; Mon, 12 Mar 2018 08:25:02 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39C40F2A5A0 for ; Mon, 12 Mar 2018 08:25:02 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBF926EE7F; Mon, 12 Mar 2018 08:25:01 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id D232F8859; Mon, 12 Mar 2018 08:25:01 +0000 (UTC) From: Jan Beich To: Ian FREISLICH Cc: current Subject: Re: Clang-6 and GNUisms. References: <4ea06b48-d451-f2b3-4c20-4963f829333b@capeaugusta.com> Date: Mon, 12 Mar 2018 09:24:57 +0100 In-Reply-To: <4ea06b48-d451-f2b3-4c20-4963f829333b@capeaugusta.com> (Ian FREISLICH's message of "Sun, 11 Mar 2018 19:56:35 -0400") Message-ID: <1sgp-n1k6-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2018 08:25:03 -0000 Ian FREISLICH 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(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