You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building bison-generated parsers using Clang 15, a -Wunused-but-set-variable warning is thrown for the usually unused yynerrs variable:
/home/nikic/php/php-src-fast/Zend/zend_language_parser.c:4487:9: error: variable 'zendnerrs' set but not used [-Werror,-Wunused-but-set-variable]
int yynerrs;
^
/home/nikic/php/php-src-fast/Zend/zend_language_parser.c:93:25: note: expanded from macro 'yynerrs'
#define yynerrs zendnerrs
Probably the declaration needs to be annotated with YY_ATTRIBUTE_UNUSED.
The text was updated successfully, but these errors were encountered:
When building bison-generated parsers using Clang 15, a
-Wunused-but-set-variable
warning is thrown for the usually unused yynerrs variable:Probably the declaration needs to be annotated with YY_ATTRIBUTE_UNUSED.
The text was updated successfully, but these errors were encountered: