C and C++ notes / Errors: Difference between revisions

From Helpful
Jump to navigation Jump to search
mNo edit summary
 
Line 1: Line 1:
{{#addbodyclass:tag_tech}}
{{#addbodyclass:tag_prog}}
{{C and Cpp}}
{{C and Cpp}}
{{stub}}
{{stub}}

Latest revision as of 15:05, 23 May 2024

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 — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.


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