3 ms·
Well, yes .. it is a label, and a label can be put almost anywhere. This is normal, expected C behavior and any standard conformant compiler would behave the s
by amszmidt 2y ago
Well, yes .. it is a label, and a label can be put almost anywhere. This is normal, expected C behavior and any standard conformant compiler would behave the same, not just GCC.
- bArray 2y agoI think it should at least warn that it is not used by default, or recognise that unused labels within switch statements are likely to be a mistake. Anyway, the point was, my tired eyes did not easily grep the spelling mistake, hence the print statements.