Re: syntax_error constructor is declared inline

2018-03-13 Thread Frank Heckenbach
Hans Åberg wrote: > > On 13 Mar 2018, at 23:23, Frank Heckenbach 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. Sinc

Re: syntax_error constructor is declared inline

2018-03-13 Thread Hans Åberg
> On 13 Mar 2018, at 23:23, Frank Heckenbach 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 purp

Re: syntax_error constructor is declared inline

2018-03-13 Thread Frank Heckenbach
Vishal V 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://

Re: syntax_error constructor is declared inline

2018-03-13 Thread Hans Åberg
> On 12 Mar 2018, at 20:08, Vishal V 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