Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 8 years ago

Language

Compiler

Options

Author

anonymous

over 8 years ago

$
In file included from /opt/wandbox/boost-1.64.0/gcc-head/include/boost/dynamic_bitset.hpp:15:0,
                 from prog.cc:6:
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/dynamic_bitset/dynamic_bitset.hpp: In instantiation of 'bool boost::dynamic_bitset<Block, Allocator>::m_check_invariants() const [with Block = unsigned char; Allocator = std::allocator<unsigned char>]':
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/dynamic_bitset/dynamic_bitset.hpp:640:5:   required from 'boost::dynamic_bitset<Block, Allocator>::~dynamic_bitset() [with Block = unsigned char; Allocator = std::allocator<unsigned char>]'
prog.cc:10:47:   required from here
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/dynamic_bitset/dynamic_bitset.hpp:1877:57: warning: left shift of negative value [-Wshift-negative-value]
         block_type const mask = (~static_cast<Block>(0) << extra_bits);
                                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
11101110100111101101011011110110000011101000010000000000
00000000001000010111000001101111011010110111100101110111
wykop!
Exit Code:
0