Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: AndrewCot on December 13, 2021, 10:17:15 am
-
I was just looking at the C::B project files and it seems the standard compiler standard is:
Unix: "std=c++11"
Windows x86 & x64: "std=gnu++11"
Does anyone have any ideas why there is a difference when the standard C::B compiler used to build itself is GCC or can post me a link to read as to why there is a difference? It would be nice to be consistent if possible.
-
Looks like GNU extensions are not used at all (Unix compilation would fail). IMHO it is better to use c++11 in all projects.
-
I don't see the gnu++ 11 extension feature in our C::B's code base. So, I agree with Miguel Gimenez.