Make gcc 8.3.0 build on MacOS 10.14.4(c++ issue: '_Atomic' does not name a type )

本文介绍了如何在MacOS 10.14.4版本上解决使用gcc 8.3.0编译C++代码时遇到的'_Atomic'类型未定义的问题,通过应用特定的补丁headers-10.14.4-fix.patch来修复。
摘要由CSDN通过智能技术生成

headers-10.14.4-fix.patch

diff -ruN gcc-8.3.0-old/fixincludes/fixincl.x gcc-8.3.0/fixincludes/fixincl.x
--- gcc-8.3.0-old/fixincludes/fixincl.x	2018-02-22 11:12:26.000000000 -0500
+++ gcc-8.3.0/fixincludes/fixincl.x	2019-03-28 15:59:33.000000000 -0400
@@ -2,11 +2,11 @@
  *
  * DO NOT EDIT THIS FILE   (fixincl.x)
  *
- * It has been AutoGen-ed  February 22, 2018 at 03:46:51 PM by AutoGen 5.18
+ * It has been AutoGen-ed  March 28, 2019 at 03:59:33 PM by AutoGen 5.18.16
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Feb 22 15:46:51 UTC 2018
+/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Mar 28 15:59:33 EDT 2019
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -15,7 +15,7 @@
  * certain ANSI-incompatible system header files which are fixed to work
  * correctly with ANSI C and placed in a 
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值