Re: [PATCH] Fix PR c++/92365

2019-11-18 Thread Jason Merrill
On 11/8/19 5:01 PM, Bernd Edlinger wrote: Hi, this fixes an unexprected fallout from my previous patch on the -Wshadow=complatible-local. By using can_convert_arg here, it avoids the issue, that can_convert tries to cast int() to char*, which is a a possible NULL-pointer value in C++98 (but

[PING] [PATCH] Fix PR c++/92365

2019-11-15 Thread Bernd Edlinger
Hi, I'd like to ping for this patch here: https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00639.html Thanks Bernd. On 11/8/19 6:01 PM, Bernd Edlinger wrote: > Hi, > > this fixes an unexprected fallout from my previous patch on the > -Wshadow=complatible-local. > > By using can_convert_arg

[PATCH] Fix PR c++/92365

2019-11-08 Thread Bernd Edlinger
Hi, this fixes an unexprected fallout from my previous patch on the -Wshadow=complatible-local. By using can_convert_arg here, it avoids the issue, that can_convert tries to cast int() to char*, which is a a possible NULL-pointer value in C++98 (but not in C++11). As pointed out in the PR,