Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 035396197a5f129c5ec42e9e46a85c32fa1c1b84)

Options
Warnings
Boost 1.73.0
C++2a
-pedantic
Raw compiler options
-Wundef

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++2a -pedantic -Wundef
prog.cc:9:9: warning: 'q' is not defined, evaluates to 0 [-Wundef]
    #if q   // C4668, q is not defined
        ^
1 warning generated.
undefined
Exit Code:
0