Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jan 2018 00:07:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224669] [exp-run] Against projects/clang600-import branch
Message-ID:  <bug-224669-13-rCAo5lKXxh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224669-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224669-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224669

--- Comment #12 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #11)
...
> Hmm I think that is actually a bit weird.  I would have expected this
> warning to always fire, but apparently not.  I have not yet been able to
> find where this exactly changed between clang 5 and 6.

And obviously this changed when the default C++ mode went from gnu++98 to
gnu++14.  Apparently, for c++98 and gnu++98, it does *not* warn about point=
er
=3D=3D 0, since under this mode, 0 is implicitly promoted to NULL.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224669-13-rCAo5lKXxh>