From: Joel E. Denny Date: Thu, 10 Aug 2006 01:18:50 +0000 (+0000) Subject: Suppress signed/unsigned comparison warnings for yycheck. X-Git-Tag: v2.3b~318 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/06e8700a000fb661a3d15db8e1dfeb6bfcccf86d?hp=06e8700a000fb661a3d15db8e1dfeb6bfcccf86d Suppress signed/unsigned comparison warnings for yycheck. * data/c.m4 (b4_safest_int_type): New macro. * data/glr.c, data/lalr1.cc: Wherever you compare yycheck[i] against a signed int type, cast it to b4_safest_int_type first. * data/yacc.c: Likewise. (b4_safest_int_type): Overwrite the one from c.m4 since b4_int_type is also overwritten. ---