Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 4 years ago

Language

C++

Compiler

clang HEAD 13.0.0 (https://github.com/llvm/llvm-project.git c4ed142e695f14ba5675ec6d12226ee706329a0f)

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

Author

anonymous

over 4 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2b
prog.cc:19:25: warning: implicit truncation from 'std::uint8_t' (aka 'unsigned char') to bit-field changes value from 255 to 63 [-Wbitfield-constant-conversion]
   constexpr Foo foo{0, static_cast<std::uint8_t>(-1), 0};
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
6
Exit Code:
0