Re: [PATCH 1/1] target/hexagon: work around unused variable in yyparser

2022-12-31 Thread Alessandro Di Federico via
On Sat, 31 Dec 2022 17:19:35 +0800 Zongyuan Li wrote: > Variable 'yynerrs' is recognized as unused variable in clang15, This issue is already handled by another similar patch (target/hexagon: suppress unused variable warning) that will soon end up in a pull request. Thanks for looking into this

[PATCH 1/1] target/hexagon: work around unused variable in yyparser

2022-12-31 Thread Zongyuan Li
Variable 'yynerrs' is recognized as unused variable in clang15, which is auto-generated by bison in parser file, as long as user code doesn't access it in '.y'. This is already fixed in bison 8.2. But for user who use latest clang, a simple harmless code piece would fix this building error. FYI: b