Page 1 of 1
Hi, What is the difference between this two settings?
Posted: Fri Apr 22, 2011 8:46 pm
by fanhe0513
What is the difference between 'C Compiler Options' and 'C++ Compiler Options'?
Re: Hi, What is the difference between this two settings?
Posted: Sat Apr 23, 2011 1:35 pm
by DavidGH
Hi,
Only the obvious one: the contents of the first is used to compile foo.c; of the second to compile bar.cpp.
Most of the time the contents will be the same, but having the two fields gives you the flexibility to make them different if you wish. e.g. In theory 'C Compiler Options' should use 'wx-config --cflags' and and 'C++ Compiler Options' 'wx-config --cxxflags'. In practice this doesn't matter as wx-config produces the same output for both.
Regards,
David