Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Enable C99 standard
Enable C99 standard [message #754977] Sun, 06 November 2011 04:52 Go to next message
Eclipse UserFriend
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 09: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 13:51 Go to previous messageGo to next message
Eclipse UserFriend
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 13:51] by Moderator

Re: Enable C99 standard [message #755766 is a reply to message #754977] Wed, 09 November 2011 09:23 Go to previous message
Eclipse UserFriend
.

[Updated on: Wed, 09 November 2011 11:51] by Moderator

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


Current Time: Wed Jul 09 10:12:45 EDT 2025

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

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

Back to the top