Redefinition of typedef is a C11 feature

本文档详细介绍了在直接引入或导入FSCalendar组件时遇到的三个常见错误及其解决方案,包括重新定义typedef错误、宏定义冲突和子模块缺失问题,并提供了具体的搜索链接和解决步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

直接引入FSCalendar组件,出现1错误;导入FSCalendar.Framework,出现1错误。

Error:

1. Redefinition of typedef is a C11 feature

search:https://github.com/WenchaoD/FSCalendar/issues/709

resoleve:

 

 

2.如上配置之后,出现 Ambiguous expansion of macro 'MAX'

reason:系统及引入的库都有 MAX 的宏定义

search:https://phonegapcmsworld.blogspot.com/2016/06/warning-sqlite3c-ambiguous-expansion-of.html

resolve:add “-Wno-ambiguous-macro” into  “Other C flags”

 

3. Missing submodule 'AVFoundation.AVAudioSession'

search:https://github.com/hackiftekhar/IQAudioRecorderController/issues/38

resolve:用 #import <AVFoundation/AVFoundation.h> 替代

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值