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++98, or something more.
I think we should apply DR195 to C++98, too. We might add the warning to a new -Wconditionally-supported flag that could later warn about other conditionally-supported constructs as well.
Jason