Re: [C++ Patch] PR 56373

2013-02-19 Thread Paolo Carlini
... in case, we may want to do something like the below too. Thanks, Paolo. /// Index: cp/cp-tree.h === --- cp/cp-tree.h(revision 196136) +++ cp/cp-tree.h(working copy) @@ -5834,6 +5834,7 @@ extern

Re: [C++ Patch] PR 56373

2013-02-19 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 56373

2013-02-18 Thread Paolo Carlini
Hi, I think submitter is right that with -Wzero-as-null-pointer-constant we want to warn also for zero converted to nullptr_t, not just pointer types. In that case the below is the simplest fix I could figure out, passes testing on x86_64-linux. Otherwise I guess we should simply close the