Added -Wno-deprecated-register to silence warnings when building with bison2.7