Why does Eclipse CDT say: 'syntax error', but compilation no problem

前端 未结 10 1429
庸人自扰
庸人自扰 2021-02-04 08:04

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 *         


        
10条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-04 08:46

    try switching the indexer to "Full c/C++ indexer (complete parse)" in Preferences->c/C++ -> indexer

提交回复
热议问题