Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implicit type conversion warnings #196
While building re2c from source (v1.0.2) I've noticed that there are a couple of type conversion warnings popping out during the build process. Here are the warnings:
Here's a proposal to fix this warning, by changing the type of yystate (and yyn) to yytype_int16.
This warning, OTOH, may require some attention, as YYSIZE_T is an unsigned integer type but I believe there are no assurances that the result of (yyssp-yyss + 1) is always positive.
Thanks for the patch, but
I've seen these warnings ever since I enabled