当前位置:网站首页>error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attr
error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attr
2022-08-11 11:33:00 【大魔法师云中君】
Since the 3.0.3 release of gperf (made in May 2007),
the generated func has had the gnu_inline attribute applied to it.
The gcc source however
has not been updated to include that which has lead to a mismatch.
In practice, this hasn't been an issue for two reasons: (1) Before gcc-5, the default standard was (gnu) C89, and gcc does not warn or throw an error in this mode. (2) Starting with gcc-4.8, the compiler driver used to build gcc was changed to C++, and g++ does not warn or throw an error in this mode. This error does show up though when using gcc-5 to build gcc-4.7 or older as then the default is (gnu) C11 and the C compiler driver is used. That failure looks like: In file included from .../gcc-4.7.4/gcc/cp/except.c:990:0: cfns.gperf: At top level: cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
边栏推荐
猜你喜欢

文献阅读(185)Co-design

嵌入式开发:提示和技巧——退出时休眠

Through the thermal lens focus on different types of gaussian model

Jmeter性能测试

Azure IoT & NVIDIA Jetson 开发基础

Small target stunt | Complete the small target detection upgrade of Yolov5 in the easiest way!

Volatile关键字的作用

98转出0转入,985高校土木工程沦为“天坑”引热议

从零开始配置 vim(12)——主题配置

VirtualLab:Ince-Gaussian光束产生涡旋阵列激光束的观测
随机推荐
【黑马早报】抖音否认与头部主播签对赌协议;阿迪达斯CEO承认在中国犯了错;网易云社交App心遇被指涉黄;联通董事长称5G资费比点外卖还便宜
39页智慧粮库解决方案
HTM5学习:第一阶段02
flutter面试题收集
darknet 结构体汇总
从抖音到火山引擎——看流媒体技术演进和机会
好的架构是进化来的,不是设计来的
闪灯芯片银行塔闪灯IC参数应用
C# 调用高德地图API获取经纬度以及定位【万字详解附完整代码】
Hugging Face快速入门(重点讲解模型(Transformers)和数据集部分(Datasets))
1元限时秒杀 | 接口抓包分析与Mock实战训练营
Web3 创业者指南:如何为你的产品构建一个去中心化社区?
vending machine
自动售货机
兴盛优选:时序数据如何高效处理?
TX12 + ExpressLRS RC configuration and control link problem summary 915 MHZ
【2022】【论文笔记】基于激光直写氧化石墨烯纸的超薄THz偏转——
爆赞!阿里P8首次分享出基于Docker的企业级Redis实战开源笔记
Jmeter性能测试
SM5200原厂SOT23-6 500mA 线性锂电子替代芯片