https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600
--- Comment #5 from smalcom ---
Second error string... I'm stupid. Thanks for help.
So, old compilers just kinder?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600
--- Comment #4 from Jonathan Wakely ---
Your code is invalid, the initializer for an enumerator must be a constant
expression and you can't use reinterpret_cast in a constant expression.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600
--- Comment #3 from smalcom ---
Created attachment 40777
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40777&action=edit
ii from 7.0.1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600
--- Comment #2 from smalcom ---
Created attachment 40776
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40776&action=edit
ii from 6.3.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600
--- Comment #1 from smalcom ---
Created attachment 40775
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40775&action=edit
ii from 4.9.4