https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85745
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- Removing const fixes the build for me. Thanks for investigating!