

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
C++ Standards Support in GCC
GCC supports different dialects of C++, corresponding to the multiple published ISO standards. Which standard it implements can be selected using the -std= command-line option.
C++98 − GCC has full support for the 1998 C++ standard as modified in 2003 and renamed to C++03 and some later defect reports.
C++11 − GCC 4.8.1 was the first complete implementation of the 2011 C++ standard, previously known as C++0x.
C++14 − GCC has full support for the latest revision of the C++ standard, which was published in 2014.
C++17 − GCC has experimental support for the next revision of the C++ standard, which is expected to be published in 2017.
You can use these different compiler supports by providing the command-line option, -std=. For example, if you want to compile a file under the C++11 implementation, you'd use −
$ g++ -std=C++11 my_file.cpp
- Related Questions & Answers
- MySQL Standards Compliance
- Builtin functions of GCC compiler in C++
- Compiling a C++ program with GCC
- Standards for maintaining Customer Repository Objects in SAP
- What are the SONET/SDH standards in networking?
- What are Python coding standards/best practices?
- Differentiate between accounting standards and accounting concepts.
- Who’s Who in the International Standards World
- Who’s Who in the Internet Standards World
- What are the IEEE 802.11 Wireless LAN Standards?
- Support for Enumerations in Python
- What is the difference between g++ and gcc?
- What is difference between GCC and G++ Compilers?
- Python class browser support
- Does Python support polymorphism?