Visual Studio2019中源文件 <bits/stdc++.h>无法打开解决方法

  1. 在Visual Studio2019中创建stdc++.h文件,将下面代码保存文件当中

// C++ includes used for precompiling -*- C++ -*-

// Copyright (C) 2003-2015 Free Software Foundation, Inc.

//

// This file is part of the GNU ISO C++ Library.  This library is free

// software; you can redistribute it and/or modify it under the

// terms of the GNU General Public License as published by the


// Free Software Foundation; either version 3, or (at your option)

// any later version.

// This library is distributed in the hope that it will be useful,

// but WITHOUT ANY WARRANTY; without even the implied warranty of

// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

// GNU General Public License for more details.

// Under Section 7 of GPL version 3, you are granted additional

// permissions described in the GCC Runtime Library Exception, version

// 3.1, as published by the Free Software Foundation.

// You should have received a copy of the GNU General Public License and

// a copy of the GCC Runtime Library Exception along with this program;

// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see

// <http://www.gnu.org/licenses/>.

/** @file stdc++.h

 *  This is an implementation file for a precompiled header.

arm-none-eabi-gcc -DUIP_CONF_IPV6_RPL_LITE=1 -DNETSTACK_CONF_FRAMER=framer_802154 -DNETSTACK_CONF_WITH_IPV6_ND=1 -DCONTIKI=1 -DCONTIKI_TARGET_PLATFORMCCT6=1 -DCONTIKI_TARGET_STRING=\"platformCCT6\" -DPROJECT_CONF_PATH=\"project-conf.h\" -I../../arch/cpu/arm/CMSIS/CMSIS/Core/Include -I../../arch/cpu/arm/CMSIS/Device/ARM/ARMCM0/Include -I../../arch/cpu/arm/stm32f030CCT6 -I../../arch/cpu/arm/stm32f030CCT6/Core/Inc -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Core/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/STM32F0xx_HAL_Driver/Inc -I../../arch/cpu/arm/stm32f030CCT6/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -DCMSIS_DEV_HDR=\"stm32f0xx.h\" -mcpu=cortex-m0 -mthumb -DUSE_HAL_DRIVER -DSTM32F030xC -I../../arch/cpu/arm/stm32f030CCT6/Core/Inc -I../../arch/cpu/arm/stm32f030CCT6/Drivers/STM32F0xx_HAL_Driver/Inc -I../../arch/cpu/arm/stm32f030CCT6/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Core/Include -Og -Wall -fdata-sections -ffunction-sections -Wa,-a,-ad,-alms=build/startup_stm32f030xc.lst -g -gdwarf-2 -MMD -MP -MF"build/platformCCT6/obj/nullframer.d" -std=c11 -fno-strict-aliasing -Werror -Os -ggdb -DMAC_CONF_WITH_CSMA=1 -DNETSTACK_CONF_WITH_IPV6=1 -DROUTING_CONF_RPL_LITE=1 -imacros ../../os/services/shell/module-macros.h -I. -I../../arch/platform/platformCCT6/. -I../../arch/cpu/arm/stm32f030CCT6/. -I../../arch/cpu/arm/stm32f030CCT6/Core -I../../arch/cpu/arm/stm32f030CCT6/Drivers -I../../arch/cpu/arm/stm32f030CCT6/Core/Inc -I../../arch/cpu/arm/stm32f030CCT6/Core/Src -I../../arch/cpu/arm/stm32f030CCT6/Drivers/STM32F0xx_HAL_Driver/Inc -I../../arch/cpu/arm/stm32f030CCT6/Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../../arch/cpu/arm/stm32f030CCT6/Drivers/STM32F0xx_HAL_Driver/Src -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Core/Include -I../../arch/cpu/arm/stm32f030CCT6/Drivers/CMSIS/Device/ARM/ARMCM0/Include -I../../arch/cpu/arm/stm32f030CCT6/../arm/CMSIS/CMSIS/Core/Include -I../../arch/cpu/arm/stm32f030CCT6/../arm/cortex-m -I../../arch/cpu/arm/stm32f030CCT6/../arm/. -I../../os/services -I../../os/services/shell -I../../os/services/shell/serial-shell -I../../os/services/shell/commands -I../../os/dev/nullradio -I../../os/dev/serial-line -I../../os/net/ipv6/uip-udp -I../../NETSTACK_CONF_WITH_IPV6_ND=1 -I../../NETSTACK_CONF_WITH_IPV6_RPL=0 -I../../NETSTACK_CONF_WITH_IPV6_RPL_LITE=1 -I../../CONFIG_NULLFRAMER=0 -I../../NULLFRAMER_CONF_ENABLE=0 -I../../os -I../../arch -I../../os/sys -I../../os/lib -I../../os/dev -I../../os/net -I../../os/net/routing -I../../os/net/mac -I../../os/net/mac/framer -I../../os/storage -I../../os/services -I../../os/lib/newlib -I../../os/lib/dbg-io -I../../os/net/mac/csma -I../../os/net/ipv6 -I../../os/net/routing/rpl-lite -I../.. -MT build/platformCCT6/obj/nullframer.o -MMD -MP -MF build/platformCCT6/obj/.deps/nullframer.c.d -c ../../os/net/mac/framer/nullframer.c -o build/platformCCT6/obj/nullframer.o nullframer.o还在。
最新发布
06-26
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值