thradams / cake

Cake a C23 front end and transpiler written in C
http://thradams.com/cake/index.html
GNU General Public License v3.0
533 stars 21 forks source link

missing warning - case constant 'constant' too big for the type of the switch expression #173

Open thradams opened 6 months ago

thradams commented 6 months ago
int main()
{
int i; // maximum size of unsigned long int is 4294967295
switch( i )
{
case 4294967295: // OK
break;
case 4294967296: // warning
break;
}
}