https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97432

--- Comment #2 from Ray Zhang <peifeng2005 at gmail dot com> ---
Hi, I actually spoke with Richard Smith about the same ticket (since clang was
also involved in the comparison here), and I found that if we were conforming
to the draft, the first case should also fail to compile. The discussion is
linked [here](https://bugs.llvm.org/show_bug.cgi?id=47848).

The issue now is that passing -pedantic-errors into GCC still allows for the
first case to pass. This shouldn't work since we find one such qual conv to
fail (const int vs. int).

Reply via email to