ansi c99 specification

General questions regarding the usage of CodeLite
5324
CodeLite Curious
Posts: 1
Joined: Mon Mar 31, 2014 10:19 pm
Genuine User: Yes
IDE Question: c++
Contact:

ansi c99 specification

Post by 5324 » Thu Apr 03, 2014 10:15 pm

Hi,

i program in c and i would like to use ansi c99 specification. How can i set the codelite?

Thx.

Jarod42
CodeLite Expert
Posts: 176
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: ansi c99 specification

Post by Jarod42 » Fri Apr 04, 2014 11:28 am

According to http://stackoverflow.com/questions/2193 ... lag-in-gcc
You have to use c99 instead of gcc.
So go to
- Settings -> Build Settings...
- Create a new compiler c99
- Complete all fields (using those of gcc should be ok) and replace gcc by c99.

Post Reply