[Bug 224669] [exp-run] Against projects/clang600-import branch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 5 00:07:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224669

--- Comment #12 from Dimitry Andric <dim at 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 pointer
== 0, since under this mode, 0 is implicitly promoted to NULL.

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


More information about the freebsd-ports-bugs mailing list