Symbol 'NULL' could not be resolved [message #1090027] |
Mon, 19 August 2013 11:58  |
Eclipse User |
|
|
|
I'm using Eclipse Kepler and CDT 8.2 with a Makefile project.
When I use Cygwin GCC with the Gnu Make Builder (without Makefile generation), everything works fine.
However, when I use MinGW GCC as my toolchain (again with Gnu Make Builder), Eclipse can't resolve the standard NULL macro. Index > Rebuild at the project node doesn't help.
I'm using MinGW 4.6.2. Any ideas? I've included a screen capture, if that helps.
-David
|
|
|
|
|
|
|
Re: Symbol 'NULL' could not be resolved [message #1090792 is a reply to message #1090732] |
Tue, 20 August 2013 12:50  |
Eclipse User |
|
|
|
Alex, thanks -- your advice got me to where I needed to go. I only had one version of MinGW installed, but I believe I had the older version installed when I installed Eclipse.
Here are the details if anybody else has this problem:
I couldn't clear the settings from the Entries tab, but your suggestion got me to Project Properties > C/C++ General > Preprocessor Include Paths > Providers (tab). When I selected the "CDT GCC Built-in Compiler Settings MinGW [ Shared ]" entry, the Language Settings Provider Options panel appeared, 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.
|
|
|
Powered by
FUDForum. Page generated in 0.03888 seconds