- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the differences between -std = c++11 and -std = gnu++11?
GNU C++ compiler, g++, provides extensions to the C++ language. The difference between the two options is whether these GNU extensions that might violate the C++ standard are enabled or not. Note that some extensions can still be in effect when using -std = c++11, if they don't violate the standard.
The list of extensions to the C++ language in GNU compiler can be found here − https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Extensions.html
- Related Articles
- Difference between std::vector and std::array in C++
- What is the difference between "std::endl" and "\n" in C++?
- std::vector::resize() vs. std::vector::reserve() in C++
- Difference between Relational operator(==) and std::string::compare() in C++
- What is the relationship between an atom containing 11 protons, 11 electrons and 11 neutrons, and another atom containing 11 protons, 11 electrons and 12 neutrons?
- What is the difference between C++0x and C++11?
- Remove spaces from std::string in C++
- Internal details of std::sort() in C++
- What does 'using namespace std' mean in C++?
- What's the best way to trim std::string in C++?
- Read whole ASCII file into C++ std::string
- Parsing a comma-delimited std::string in C++
- How to shuffle a std::vector in C++
- What are the new changes introduced in C++11?
- How to concatenate a std::string and an int in C++?

Advertisements