The flex/bison-generated lexer/parser combination has the usual problems with implicit function declarations. The problem also exists upstream. For now, we should build the package in C89 mode.
I had another look and it is fixable after all. I submitted an upstream PR and will backport it.