Compile C In C99 Mode By Codeblock - Jsdom
Maybe your like
Skip to content - Home
- About
compile c in c99 mode by codeblock
Posted on March 13, 2012 by jsdomAfter Writing so many javascript codes, I wrote some C code habitually as below:
for (int i = 0; i < LENGTH && s[i]; ++i) …
Then I got some big fat error like this:
\cex\poj1001\main.c|19|error: ‘for’ loop initial declarations are only allowed in C99 mode|
I did some search to find out how to setting c99 mode in c::B(code::block) ide.
1. select ‘project properites’ on ‘project’ context’ menu
2. click on the button of ” project build options…”

3. type in ‘-std=c99’ in ‘other options’

Share this:
- X
Related
About jsdom
leading software engineer View all posts by jsdom → This entry was posted in programming and tagged C&C++. Bookmark the permalink. ← css sprite usage c double pointer usage →1 Response to compile c in c99 mode by codeblock
-
hb says: August 24, 2014 at 5:55 pm
Hi, it does not work for me, even if i add it under compiler global settings and restart codeblock. What can i do?
Reply
Leave a comment Cancel reply
- Search for:
-
Recent Posts
- splunk query neighboring events
- Unique Binary search Tree
- Manacher’s algorithm
- a speical character issue on jenkins jobdsl plugin
- Setup p4merge as a visual diff and merge tool for git Raw
Archives
- July 2016
- June 2016
- May 2016
- March 2016
- January 2016
- November 2015
- October 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- October 2013
- September 2013
- August 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- February 2011
Categories
- algorithm
- devops
- programming
- System
- Uncategorized
- web development
- work related
My Tags
- ACM
- algorithms
- assembly
- aws
- binary search
- C&C++
- chef
- compiler
- concurrency and thread
- core java
- crawler
- CSS
- debug
- DP
- extjs
- groovy
- Haskell
- huffman code/tree
- javascript
- jersey
- linux
- mac&ios
- maven
- mobile
- nginx
- open source
- perl
- redhat
- restful
- ruby
- search engine
- tomcat
- vcs
- vim
- websphere
My Profile
Senior Software Engineer At Actuate
Meta
- Create account
- Log in
- Entries feed
- Comments feed
- WordPress.com
- Comment
- Reblog
- Subscribe Subscribed
-
jsdom Sign me up - Already have a WordPress.com account? Log in now.
-
-
-
jsdom - Subscribe Subscribed
- Sign up
- Log in
- Copy shortlink
- Report this content
- View post in Reader
- Manage subscriptions
- Collapse this bar
-
Tag » Code Blocks C C99
-
How To Change Codeblocks To C99 Standard?
-
C99 Mode For Single Files In For Code::Blocks - Stack Overflow
-
How To Install CodeBlocks And Get Started With C/C++ Programming
-
Code::Blocks Download
-
'for' Loop Initial Declarations Are Only Allowed In C99 Or C11 Mode
-
Setting Up Code::Blocks On Windows
-
How To Connect CODE Blocks With C Compilers - Quora
-
I Am Using Gnu Gcc Compiler In Codeblocks. On Executing A ... - Quora
-
如何让CodeBlocks支持C99 - CSDN博客
-
Download And Install Code Blocks C & C++ IDE On Windows 10 & 11
-
ARM Compiler V5.06 For UVision Armcc User Guide - Arm Developer
-
Code::Blocks - C++ Tutorials
-
Code::Blocks - Wikipedia
-
C, C++, D Source Code Blocks In Org Mode