I am working in existing C code which has a couple of lines with statements similar to this one:
struct collect_conn *tc = (struct collect_conn *) ((char *
I've fixed problem in eclipse CDT with Preferences->C/C++->Language Mappings : Add Content Type : C-header Language : C++