What are the differences between -std=c++11
and -std=gnu++11
as compilation parameter for gcc and clang? Same question with c99
and gnu99
? I know about C++ and C standards, it's the differences in the parameters that interest me.
I've read somewhere that it has to do with some extensions but it is not clear to me which ones and how to choose between one or the other for a new project.