Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 1 year ago

Language

C++

Compiler

gcc 12.2.0

Options
Don't Use Boost
C++2b
-pedantic-errors

Author

anonymous

over 1 year ago

$ g++ prog.cc -std=c++2b -pedantic-errors
prog.cc: In function 'int main()':
prog.cc:18:7: error: enumeration value 'C' not handled in switch [-Werror=switch]
   18 | switch(e){
      |       ^
cc1plus: some warnings being treated as errors
Exit Code:
1