Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Enable C99 standard
Enable C99 standard [message #754977] Sun, 06 November 2011 09:52 Go to next message
Germano Massullo is currently offline Germano MassulloFriend
Messages: 13
Registered: September 2011
Junior Member
I need to compile my C program using C99 standard.
I did not find any option in Eclipse about how to modify gcc flags.
Re: Enable C99 standard [message #754996 is a reply to message #754977] Sun, 06 November 2011 14:16 Go to previous messageGo to next message
Eclipse UserFriend
Il Sun, 06 Nov 2011 10:52:52 +0100, Caterpillar ha scritto:

> I need to compile my C program using C99 standard. I did not find any
> option in Eclipse about how to modify gcc flags.

Right click the project->Properties then select c/c++ build->settings and
modify the command line pattern

Bye, Leo
Re: Enable C99 standard [message #755011 is a reply to message #754996] Sun, 06 November 2011 18:51 Go to previous messageGo to next message
Germano Massullo is currently offline Germano MassulloFriend
Messages: 13
Registered: September 2011
Junior Member
For other people who will have my same problem:
follow Leo suggestion, and then under C/C++ Build you will find Settings, go to GCC C compiler -> Miscellaneus -> and add the flag -std=c99

[Updated on: Sun, 06 November 2011 18:51]

Report message to a moderator

Re: Enable C99 standard [message #755766 is a reply to message #754977] Wed, 09 November 2011 14:23 Go to previous message
Germano Massullo is currently offline Germano MassulloFriend
Messages: 13
Registered: September 2011
Junior Member
.

[Updated on: Wed, 09 November 2011 16:51]

Report message to a moderator

Previous Topic:How to get code completion (MacOS eclipse CDT)
Next Topic:Re: How to get code completion
Goto Forum:
  


Current Time: Fri Apr 26 17:03:07 GMT 2024

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

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

Back to the top