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

Barry Revzin <barry.revzin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barry.revzin at gmail dot com

--- Comment #31 from Barry Revzin <barry.revzin at gmail dot com> ---
Apparently this was fixed in 9.3?

enum class Color { Red, Green, Blue };

struct X {
    Color c : 2;
};

auto x = X{.c=Color::Red};

warns on 9.2, but not anymore on 9.3 or 10.
  • [Bug c++/51242] [C++11] Unable ... barry.revzin at gmail dot com via Gcc-bugs

Reply via email to