<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:lukasza@chromium.org" title="Lukasz Anforowicz <lukasza@chromium.org>"> <span class="fn">Lukasz Anforowicz</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - New diagnostic -Wzero-as-null-pointer-constant warns on code in system headers."
href="https://bugs.llvm.org/show_bug.cgi?id=36520">bug 36520</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - New diagnostic -Wzero-as-null-pointer-constant warns on code in system headers."
href="https://bugs.llvm.org/show_bug.cgi?id=36520#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - New diagnostic -Wzero-as-null-pointer-constant warns on code in system headers."
href="https://bugs.llvm.org/show_bug.cgi?id=36520">bug 36520</a>
from <span class="vcard"><a class="email" href="mailto:lukasza@chromium.org" title="Lukasz Anforowicz <lukasza@chromium.org>"> <span class="fn">Lukasz Anforowicz</span></a>
</span></b>
<pre>Good call - thanks for taking a look. The include path was indeed specified
via -I... rather than -isystem:
-I../../build/linux/debian_stretch_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include.
Let me resolve this bug as WontFix/WAI/ByDesign.
third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj/base/base/message_pump_glib.o.d -DUSE_SYMBOLIZE -DV8_DEPRECATION_WARNINGS
-DDCHECK_ALWAYS_ON=1 -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1
-DUSE_X11=1 -DNO_TCMALLOC -DMEMORY_TOOL_REPLACES_ALLOCATOR
-DMEMORY_SANITIZER_INITIAL_SIZE -DADDRESS_SANITIZER -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"325667-1\" -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen
-I../../build/linux/debian_stretch_amd64-sysroot/usr/include/glib-2.0
-I../../build/linux/debian_stretch_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__=
-funwind-tables -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin
-pthread -fcolor-diagnostics -Xclang -mllvm -Xclang
-instcombine-lower-dbg-declare=0 -no-canonical-prefixes -m64 -march=x86-64
-Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety
-Wzero-as-null-pointer-constant -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-undefined-var-template -Wno-nonportable-include-path
-Wno-address-of-packed-member -Wno-unused-lambda-capture
-Wno-user-defined-warnings -Wno-enum-compare-switch
-Wno-null-pointer-arithmetic -fno-omit-frame-pointer -g1 -gline-tables-only
-gcolumn-info -fsanitize=address -fsanitize-address-use-after-scope
-fsanitize-blacklist=../../tools/memory/asan/blacklist.txt -fvisibility=hidden
-Xclang -load -Xclang
../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-Xclang -add-plugin -Xclang find-bad-constructs -Xclang
-plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -Wglobal-constructors
-Wexit-time-destructors -Wexit-time-destructors -Wshadow
-Wexit-time-destructors -O2 -fno-ident -fdata-sections -ffunction-sections
-std=gnu++14 -fno-exceptions -fno-rtti -nostdinc++
-isystem../../buildtools/third_party/libc++/trunk/include
-isystem../../buildtools/third_party/libc++abi/trunk/include
--sysroot=../../build/linux/debian_stretch_amd64-sysroot
-fvisibility-inlines-hidden -c ../../base/message_loop/message_pump_glib.cc -o
obj/base/base/message_pump_glib.o</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>