> On 12 Mar 2018, at 20:08, Vishal V <vis...@royal-caliber.com> wrote:
> Bison 3.0.4 marks the constructor for the syntax_error class as 'inline'
> when generating a C++ scanner, which results in undefined references when
> the exception is thrown from a separate scanner file. Since this is the
> stated purpose of the syntax_error class (see
> http://lists.gnu.org/archive/html/help-bison/2013-07/msg00010.html), this
> appears to be a bug.
As a workaround, you might try removing the inline specifier by adding to the
.yy grammar file:
> This was mentioned in another unrelated bug report as well:
It worked in GCC7.