On Fri, Nov 05, 2021 at 11:41:38AM +0100, Andrea Monaco wrote:
> I think in both cases the problem is the following lines in the
> generated files:
> 
>   #if !defined yyerror && !defined YYERROR_IS_DECLARED
>   void yyerror (const char *msg);
>   #endif

Yes, bison-3.8 generates these prototypes.  Thanks for the report and
patch.  I've extended your patch to other files too.
https://sourceware.org/pipermail/binutils/2021-November/118441.html

-- 
Alan Modra
Australia Development Lab, IBM

Reply via email to