Re: [C++ Patch] PR 57869

2013-07-10 Thread Jason Merrill
OK, thanks. Jason

Re: [C++ Patch] PR 57869

2013-07-10 Thread Paolo Carlini
Hi, On 07/10/2013 02:40 AM, Jason Merrill wrote: On 07/09/2013 07:46 PM, Paolo Carlini wrote: Daniel noticed that, per to the resolution of DR195, we shouldn't warn in c++11 mode, not even with -pedantic, for this kind of reinterpret_cast (*). Straightforward change tested x86_64-linux, not sur

Re: [C++ Patch] PR 57869

2013-07-09 Thread Jason Merrill
On 07/09/2013 07:46 PM, Paolo Carlini wrote: Daniel noticed that, per to the resolution of DR195, we shouldn't warn in c++11 mode, not even with -pedantic, for this kind of reinterpret_cast (*). Straightforward change tested x86_64-linux, not sure if we want to do something slightly different for

[C++ Patch] PR 57869

2013-07-09 Thread Paolo Carlini
Hi, Daniel noticed that, per to the resolution of DR195, we shouldn't warn in c++11 mode, not even with -pedantic, for this kind of reinterpret_cast (*). Straightforward change tested x86_64-linux, not sure if we want to do something slightly different for C++98, or something more. Thanks,