https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78934
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jim Michaels from comment #0) > this is surely not according to spec. Wrong again. "The operands of * and / shall have arithmetic or unscoped enumeration type; the operands of % shall have integral or unscoped enumeration type." Please stop reporting things as bugs that are just due to you not understanding C++.