Talk: Programming in c

From LibrePlanet
Jump to: navigation, search

GCC's use of C++

In 2013, the GCC project decided to start using their C++ compiler to build GCC (until now, they were using their C compiler). They did this because they wanted to use a few features of the C++ language. So GCC is now written in what could be called "limited C++".

GCC should thus provide a good example of how C programmers can use C++ features. I'm looking for a list of exactly which C++ features will be allowed in the GCC codebase, but I haven't found it. I found these two docs:

They might even contain the answer, maybe I just didn't notice it when I skimmed them. Ciaran 09:15, 6 February 2014 (EST)