Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 2c391a5a14aeb34e970aba85c5aa540656fe47ca)

Options
Warnings
Boost 1.73.0
C++03
no pedantic

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++98
prog.cc:10:14: warning: overflow converting case value to switch condition type (4294967296 to 0) [-Wswitch]
        case 4294967296:   // C4178
             ^
prog.cc:8:14: warning: overflow converting case value to switch condition type (4294967295 to -1) [-Wswitch]
        case 4294967295:   // OK
             ^
2 warnings generated.
Exit Code:
0