https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414
Sam van Kampen <sam at segfault dot party> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sam at segfault dot party --- Comment #13 from Sam van Kampen <sam at segfault dot party> --- I've sent a patch that adds the warning flag -Wbitfield-enum-conversion to gcc-patches, and the gcc mailing list now also has a thread on the bug, and I thought I might share them on the bug tracker: The patch: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00989.html The thread on the bug: https://gcc.gnu.org/ml/gcc/2017-10/msg00121.html