Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 783ba64a8950768d412555abd52bbc65156d4fb5)

Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2a
prog.cc:6:4: warning: switch condition has boolean value [-Wswitch-bool]
   switch(!i) {   // C4144, remove the ! to resolve
   ^      ~~
1 warning generated.
Exit Code:
0