News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

question - C99

Started by AZ, October 05, 2012, 05:25:44 PM

Previous topic - Next topic

AZ

hello,
why there is no option to select C99 standard from the list of predefined options?
// just curious

AZ
.
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

stahta01

#1
Code::Blocks Version?
Compiler name and Version?

You can always place missing option in the extra or other settings area for Linker or Compiler.

I do not see it in the Nightly Build SVN 8345.
Saw several C++ options like it.
Saw C90 related option.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

AZ

Quote from: stahta01 on October 05, 2012, 05:28:12 PM
Code::Blocks Version?
Compiler name and Version?

You can always place missing option in the extra settings area for Linker or Compiler

Tim S.

CB - svn 8403
CC- gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
>..You can always place missing option in the extra settings area for Linker or Compiler
yeap, that's what i did. I'm just curios why this option is not in the selection. I would think it's more or less standard...
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

stahta01

#3
Quote from: AZ on October 05, 2012, 05:30:39 PM
Quote from: stahta01 on October 05, 2012, 05:28:12 PM
Code::Blocks Version?
Compiler name and Version?

You can always place missing option in the extra settings area for Linker or Compiler

Tim S.

CB - svn 8403
CC- gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
>..You can always place missing option in the extra settings area for Linker or Compiler
yeap, that's what i did. I'm just curios why this option is not in the selection. I would think it's more or less standard...


If you build from SVN, I suggest submitting an patch to add it.
If not, I suggest submitting a feature request to add it.

Look at Wikipage on where to submit feature requests.

Edit: They made be holding off on adding it because of Compiler redesign reasons.
Or, it might be because most of the developers use C++ instead of C.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

AZ

CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

MortenMacFly

Quote from: AZ on October 05, 2012, 05:40:16 PM
ok. thank you
Using the compiler branch (which will be merged into trunk later) you can define any option you like you self. We are planning a nightly of this branch any time soon (actually it should have been out already). So wait a little and grab that one.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Alatar

UP!

Please, add -std=c99 and -std=gnu99 to default xml file?

MortenMacFly

Quote from: Alatar on September 01, 2014, 11:09:47 AM
Please, add -std=c99 and -std=gnu99 to default xml file?
It is there for me...?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Alatar

I`m think for any of C::B developer.
Generally I don`t need this options but I look at commit history today and saw r9874. I don`t understand why there is no C99-related options here, so I decide to ask you to add them.

stahta01

#9
Quote from: Alatar on September 01, 2014, 02:48:39 PM
I`m think for any of C::B developer.
Generally I don`t need this options but I look at commit history today and saw r9874. I don`t understand why there is no C99-related options here, so I decide to ask you to add them.

Is there a real reason you are keeping the version and distro of the Code::Blocks you are using secret?
Edit: And, the CB name Compiler you are using.

Edit2: If the information needed to duplicate the problem is NOT given; you will likely be ignored by the CB Devs.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]