Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

C++

Compiler

clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git e3de7bb263271008c55cc8bf3186a3a08999fbaa) (https://github.com/llvm-mirror/llvm.git 631cfd79b3240f5df03548a0a3eab519709743e9)

Options
Warnings
Boost 1.68.0
C++17
no pedantic
Raw compiler options
-Weverything -Wno-c++98-compat

Author

anonymous

almost 7 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-head/include -std=c++17 -Weverything -Wno-c++98-compat
prog.cc:5:17: error: constexpr if condition evaluates to 2, which cannot be narrowed to type 'bool' [-Wc++11-narrowing]
  if constexpr (flags & 3) {
                ^
1 error generated.
Exit Code:
1