About cpp.sh. C Shell, 2014-2015. If you're invoking it from a Windows MS-DOS-style command prompt, you can create a batch file called c99.cmd containing: and put it somewhere in your%PATH%. Note that the latter method only handles up to 9 command-line arguments, which will usually be enough. (I think there are ways to handle more.). Suppress warning “-std=c99 is not for C”? Ask Question Asked 2 years, 6 months ago. Active 2 years, 6 months ago. Viewed 843 times 1. I use Orwell Dev. Well, the answer to your problem (but not to your question) is to change your IDE. Dev-C is far too old to support C11. The compiler can be changed to point to a newer version of MinGW. Jan 24, 2013 best compiler(s) for c11, c99 For all the more i have been tinkering with, my current set up of code::blocks 12.11 with GCC on windows 7 x64 is working great. What would you recommend if i wanted 100% compatibility with C99 standards?
hello altogether,
my name is Wolfram Pagels, Berlin, Germany
my status is :retired but enthusiastic c++-fan;
I use Dev-C++ since 3 month ago; in the 70th I programmed in Fortran;
after a long break I enjoy to learn c++11;
e.g.: the day before yesterday I got the following message from Dev-C++:
My second question to you: * h o w to enable (these) options at my installed and running actual mingw compiler as part of Dev-C++ IDE ?
Dev-c C99 Or Std
Thank you in advance for your time,
yours sincerely
- 4 Contributors
- forum 3 Replies
- 3,478 Views
- 23 Hours Discussion Span
- commentLatest Postby Ancient DragonLatest Post
mike_2000_172,669
Dev-c C99 Strain
Well, the answer to your problem (but not to your question) is to change your IDE. Dev-C++ is far too old to support C++11. The MinGW GCC version that ships with Dev-C++ is version 3.4.2, which is really old. Decent support for C++11 starts roughly from 4.6.0, but since it is still experimental, the newer the better. Currently, you can get 4.7.1 version through '>TDM-GCC ports. I recommend switching to '>CodeBlocks, which you can download as an installer that includes TDM-GCC 4.7.1. That should allow you to have decent C++11 support.
Dev C C99
As for setting compiler options, you typically have to navigate the 'Build Configuration' or 'Project Properties' or similar panels. Usually, you will find a place to put 'custom compiler options' where you can place the exact command-line compiler option (like -std=c++11
), that is, if you can't find a checkbox for the particular option you need.