当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
VirtualLab:Ince-Gaussian光束产生涡旋阵列激光束的观测
Typora表格中常用操作
leetcode:373. 查找和最小的 K 对数字
MySQL --- storage engine
阿里云慢下来了?
沃土云创计划重磅来袭
什么是架构基本概念和架构本质
工程师如何对待开源 --- 一个老工程师的肺腑之言
Azure IoT & NVIDIA Jetson 开发基础
黑马瑞吉外卖之分类信息的分页查询
What areas of the deep neural network are related to the human brain neural network?
五分钟教你内网穿透
目标检测学习笔记——paddleDetection使用
EastWave应用:负折射现象实时演示
重要消息丨.NET Core 3.1 将于今年12月13日结束支持
a-upload上传图片
TiSpark 原理之下推丨TiDB 工具分享
【毕业设计】老人心率脉搏血压体征监测手表 - stm32 单片机 嵌入式 物联网
Five minutes to teach you intranet penetration
六、一起学习Lua 循环