By default CLion C and C++ files has united file type in Settings->Editor->File Types But in inspect code .c file recognize as plain C (for example type bool requires the inclusion < stdbool.h >) but actually it must be compiled as C++
Help->About: CLion CL-140.2310.6 Build #CL-140.2310, built on February 12, 2015 ...