Hi Ope,
the auto complete feature of CodeBlocks scans the lexer_*.xml files. So these entries static, static_cast are part of these lexer files, so you get auto complete for C and C++. You can modify the keyword in the settings/editor/syntax hightlghting. Just select keyword set 1 and modify the entries.
Bye,
Mario