次のコードは警告をトリガーしgcc
ます (gcc 4.2.1):
#include <boost/cstdint.hpp>
boost::uint64_t x = 1 << 32; // warning: left shift count >= width of type
型が64bitだからいいんじゃないの?
次のコードは警告をトリガーしgcc
ます (gcc 4.2.1):
#include <boost/cstdint.hpp>
boost::uint64_t x = 1 << 32; // warning: left shift count >= width of type
型が64bitだからいいんじゃないの?