First post, by Zirias

User metadata
Rank Newbie

I just wanted to do some little modifications and was quite surprised to find only plain old C code in the .cpp files. Is there a particular reason for using a C++ compiler (along with libstdc++ et al)?

edit: I just discovered openglide INDEED compiles fine using gcc (and NOT g++), so there's definitely no c++ code anywhere. This helps me build a i386 version on my amd64 host right now, because my debian environment doesn't provide ia32 libstdc++ import library ATM.

So, why is all the code in .cpp files? Is this for building in microsoft visual studio, that doesn't provide a plain C compiler but only C++? If so, wouldn't setting CXX="gcc" on any GNU environment by default be a good idea?