How to enable c99 and c11 on gcc? Ask Question Asked 5 years, 11 months ago. Active 5 years, 11 months ago. Viewed 38k times 1. When I compile the following code.
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 ?
Thank you in advance for your time,
yours sincerely
- 4 Contributors
- forum 3 Replies
- 3,567 Views
- 23 Hours Discussion Span
- commentLatest Postby Ancient DragonLatest Post
mike_2000_172,669
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.
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.
Dev-c C11 11
- Download
Dev-c Com/gta/script Hookv
Thank you for using our software portal. Use the link given below and proceed to the developer's website in order to download Dev-C++ free.
Dev-c C11 4
However, we must warn you that downloading Dev-C++ from an external source releases FDM Lib from any responsibility. Please carefully check your downloads with antivirus software. Direct link to the product shall be included for your maximum convenience as soon as it becomes available.
Often downloaded with
- Dev-PHPDev-PHP is a well-featured integrated development environment (IDE). You'll be...DOWNLOAD
- Dev-PascalDev-Pascal is a full-featured integrated development environment (IDE), which...DOWNLOAD
- Dev-PHP IDEDev-PHP is a well-featured IDE for PHP. Fast and powerful, it is easy to use...DOWNLOAD
- Dev EjectDev Eject is a simple software to use Device Manger for Windows XP, that...DOWNLOAD
- Aphelion DevAphelion Dev's graphical user interface utilizes the best features of current...DOWNLOAD
Dev-c C11 Engine
AV for Windows 8 App Dev - Introduction To App DevDev-c C11 9
General