Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 9 years ago

Language

Compiler

Options

Author

anonymous

about 9 years ago

$
prog.cc: In function 'int main(int, const char**)':
prog.cc:3:38: warning: unused parameter 'argv' [-Wunused-parameter]
 int main( int argc, char const* argv[] )
                                      ^
prog.cc:8:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
             std::cout << 1 << std::endl;
             ~~~~~~~~~~~~~~~^~~~~~
prog.cc:9:9: note: here
         case 2:
         ^~~~
1
2
3
Exit Code:
0