if you use std:: uint32_t, you must include <cstding>. Proof: http://en.cppreference.com/w/cpp/header/cstdint