Skip to content

parser.tab.c:1078:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable] #144

Closed
niclas opened this issue Apr 10, 2023 · 4 comments · Fixed by #151
Closed

Comments

@niclas
Copy link
Contributor

niclas commented Apr 10, 2023

found using CC=clang make.

@thomas
Copy link
Contributor

thomas commented Apr 11, 2023

Guess this is not an issue, since parser.tab.c is generated by yacc/bison. Eventually you might need to check these tools for the cause of the warning.

@donald
Copy link
Contributor

donald commented Apr 12, 2023

Warning could be disable for that compilation unit only in the Makefile.

@donald
Copy link
Contributor

donald commented Dec 30, 2023

Can't reproduce with current build chain. Wonder why, we didn't update bison.

@donald donald closed this as completed Dec 31, 2023
@niclas
Copy link
Contributor Author

niclas commented Dec 31, 2023

At the time I opened this issue I was adding a new llvm version (15.0.4) so I think I forgot to specify I used that version instead of the 14.0.6 which is the default at the moment. Therefore use CC=clang prun llvm-15.0.4-0 make to reproduce.

@donald donald reopened this Dec 31, 2023
@donald donald mentioned this issue Jan 1, 2024
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants