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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to nick87720z from comment #0)
> Unlike C++, where type is specified as "enum class type ..."

That's not how C++ does it, the correct syntax is:

  enum foo_type : int { foo, bar, baz };

Reply via email to