Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.201909091956(I cannot find any C build settings in my Eclipse / CDT setup)
Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.201909091956 [message #1822950] Tue, 17 March 2020 10:00 Go to next message
Kustaa Nyholm is currently offline Kustaa NyholmFriend
Messages: 14
Registered: July 2009
Junior Member
I have a C project and no matter how much I google and go through different menus I cannot find where I can set indexer to use C99 (I get a report for bool not recognised in the editor though I include stdbool.h).

The code compiles just fine, but to I do compile in Eclipse using GNU Make 3.18 on macOS 0.13.6.

Can't find any other build settings for that matter but this is no big deal as I build from command line anyway.

wbr Kusti


Re: Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.2019090919 [message #1822960 is a reply to message #1822950] Tue, 17 March 2020 12:02 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
The command for the Indexer to get the compiler builtins is in:
Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. --> Providers tab --> CDT GCC Builtin Compiler Settings

It defaults to
${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"

Where ${COMMAND} is from the declared tool chain.

You could set the compiler language flag there.
Usually, its value is gcc

Or, since the flag just causes a macro setting, you could add the macro as a User Entry in
Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. --> Entries tab --> CDT User Setting Entries
Re: Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.2019090919 [message #1822961 is a reply to message #1822960] Tue, 17 March 2020 12:10 Go to previous messageGo to next message
Kustaa Nyholm is currently offline Kustaa NyholmFriend
Messages: 14
Registered: July 2009
Junior Member
Sorry, I must be dence, I cannot find it (Preprocessor Include Paths, Macros etc.)


index.php/fa/37598/0/
index.php/fa/37597/0/
Re: Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.2019090919 [message #1822963 is a reply to message #1822961] Tue, 17 March 2020 12:27 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Looks like you are using a plugin that's a modified CDT.
This is what the standard CDT looks like:
index.php/fa/37599/0/
Maybe you can set the language macro with C/C++ Include Paths and Symbols
but I can't be sure since I don't have the plugin.
Re: Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.2019090919 [message #1822964 is a reply to message #1822963] Tue, 17 March 2020 12:30 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
I can't edit the image because the horizontal scroll is missing

This is from the help files:
https://help.eclipse.org/photon/topic/org.eclipse.cdt.doc.user/reference/cdt_u_prop_general_sd_providers.htm?cp=13_4_7_0_4_6_1
Re: Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.2019090919 [message #1822966 is a reply to message #1822964] Tue, 17 March 2020 12:33 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Hmmm, that one was for the photon version.
Here's the one from 2019-12

https://help.eclipse.org/2019-12/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop_general_sd_providers.htm&cp%3D13_4_7_0_4_6_1
Re: Where is C99 setting or build settings at all in Eclipse 2019-12 (4.14.0) CDT 9.9.0.2019090919 [message #1822967 is a reply to message #1822963] Tue, 17 March 2020 12:36 Go to previous message
Kustaa Nyholm is currently offline Kustaa NyholmFriend
Messages: 14
Registered: July 2009
Junior Member
Thanks, the pic does not show but I don't think that matters.

The interesting thing is that I today loaded the plugin so I would have expected it to be standard and up to date.

I will investigate my plugins situation.

Thanks once more.


Previous Topic:Print array in Debugger console
Next Topic:Arduino Library Management With Symlinks
Goto Forum:
  


Current Time: Fri Apr 26 15:29:30 GMT 2024

Powered by FUDForum. Page generated in 0.04061 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top