eclipse出现Symbol could not be resolved解决方案

本文介绍了一种解决Eclipse中C/C++项目出现Symbol‘NULL’couldnotberesolved错误的方法。通过调整项目的编译器设置,清除不必要的预处理器路径,最终解决了该问题。

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

  • eclipse出现Symbol ‘NULL’ could not be resolved

借鉴老外解决方案:顺便吐槽一下百度垃圾


:Here are the details if anybody else has this problem:

I could not clear the settings from the Entries tab, but your suggestion got me to
 Project Properties > C/C++ General > Preprocessor Include Paths > Providers (tab). 
with this information: "Options of global providers below can be changed in (linked->) Workspace Settings, Discovery Tab."

Clicking the link brought me to a dialog I could have reached directly with Eclipse 
Menu > Window > Preferences > C/C++ > Build > Settings > Discovery (tab). 
I selected "CDT GCC Built-in Compiler Settings MinGW [ Shared ]",
 and pressed the Clear Entries button.
Then I pressed the Apply button (OK probably would have worked, too), and I was good to go.

Thanks again

本人借鉴:没有选择MinGW,直接选择CDT GCC Built-in Compiler Settings [ Shared ]问题解决。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值