如题,在引入Carbon.h头文件的时候,报错:

详细的报错信息:
In included file: non-defining declaration of enumeration with a fixed underlying type is only permitted as a standalone declaration; missing list of enumerators?
CFBase.h:474:9: error occurred here
网上搜不到相关的解答,索性将源文件的后缀名改成了.mm,神奇般的不报错了,而且编译也通过,运行也正常
