]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/82039 suppress -Wzero-as-null-pointer-constant warning
authorJonathan Wakely <jwakely@redhat.com>
Mon, 4 Sep 2017 16:41:38 +0000 (17:41 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 4 Sep 2017 16:41:38 +0000 (17:41 +0100)
commit62576f0b220e11d7192d789ec337f3732c83c636
treefc2658b061d190767fd97b34df95f3493a4b13b8
parent3495af3f697b552eed2f622ad18bf1a8447d6b09
PR c++/82039 suppress -Wzero-as-null-pointer-constant warning

Backport from mainline
2017-08-31  Jonathan Wakely  <jwakely@redhat.com>

PR c++/82039
* include/ext/new_allocator.h (__gnu_cxx::new_allocator::allocate):
Adjust null pointer constant to avoid warning.

From-SVN: r251672
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/new_allocator.h