clang: ignore -Wunused-but-set-variable
This commit is contained in:
parent
9df5ac3449
commit
0a5c826613
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,13 @@
|
||||||
* TZ strings in dates.
|
* TZ strings in dates.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
/* clang 15 detects yynerrs as unused.
|
||||||
|
* Will be fixed in future versions of bison.
|
||||||
|
*/
|
||||||
|
#pragma clang diagnostic ignored "-Wunused-but-set-variable"
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FIXME: Check for arithmetic overflow in all cases, not just
|
* FIXME: Check for arithmetic overflow in all cases, not just
|
||||||
* some of them.
|
* some of them.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue