diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2010-02-20 21:32:06 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2010-02-20 21:32:06 +0000 |
commit | 17251338deebd6575ef2a9e2c99c3f976561dc93 (patch) | |
tree | 80eb6bcb9ce16ee2cd887d93ee782806145b1486 /mkinstalldirs | |
parent | c387e0676eb6949dfc49681d6ac1b09c3e11d2ca (diff) | |
download | gcc-17251338deebd6575ef2a9e2c99c3f976561dc93.zip gcc-17251338deebd6575ef2a9e2c99c3f976561dc93.tar.gz gcc-17251338deebd6575ef2a9e2c99c3f976561dc93.tar.bz2 |
re PR c++/35669 (NULL (__null) not considered different from 0 with C++)
2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/35669
* c.opt (Wconversion-null): New option.
* doc/invoke.texi (Wconversion-null): Document.
cp/
* call.c (conversion_null_warnings): Replace -Wconversion with
-Wconversion-null.
* cvt.c (build_expr_type_conversion): Likewise.
testsuite/
* g++.dg/warn/Wconversion2.C: Replace -Wconversion with
-Wconversion-null.
* g++.dg/warn/Wconversion-null.C: New test.
* g++.old-deja/g++.other/null1.C: Move to...
* g++.dg/warn/Wconversion-null-2.C: ... here. Remove -Wconversion.
libstdc++-v3/
* testsuite/18_support/headers/cstddef/macros.cc: Add
-Wno-conversion-null.
From-SVN: r156928
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions