Tony Reina - 2011-09-29

Nick,

Can you attached a sample project for me to test?

I think the problem you are seeing is that the wxWidgets libraries are built in C++. So if you add a C source code to a C++ project, the IDE has to use the C++ compiler (which can handle both C and C++ code).

At the end of the day, whether gcc or g++ is used is not really important. gcc is a front-end which compiles many types of source code (not just c code). In fact, I think it sends C++ source code to the g++ compiler (which is really the cc1plus.exe executable).

I have checked version 7.4 with a true C project (a simple console C program). The IsCpp flag is set to 0 and the CompileCpp=0 as well.

http://stackoverflow.com/questions/1516609/difference-between-cc-gcc-and-g