C and C++ notes / Errors
Jump to navigation
Jump to search
Notes related to C and C++
Note: Some notes describe behaviour common to most variants - for C mostly meaning C89 (and a bit of C99), unless mentioned otherwise. |
This article/section is a stub — probably a pile of half-sorted notes and is probably a first version, is not well-checked, so may have incorrect bits. (Feel free to ignore, or tell me) |
Error: Jump to case label
Compilation error.
Typically caused by value declarations within case statements.
Either move them outside (or before the first case(verify)), or put that case's body in curly brackets (excluding the break?(verify)).
This seemed informative to me: http://forums.whirlpool.net.au/archive/1794875