C and C++ notes / Errors

From Helpful
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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


field has incomplete type