Subj : Re: gcc and my mind To : comp.programming.threads From : Fester Date : Sat Sep 03 2005 01:12 am verna.lamay@bankarea.com wrote: > I'm writing an aplication in C++. This aplication must be ported on a > multitude of platforme, so the code must be porbale. When i'm compiling > my application with Visual C++ compiler i get, 3,2 , 1 or no warning. > When i compile it with gcc it give me 2 screens of warning. I apreciate > that gcc it's an open source compiler and it's free, but it have a > maturity taht should stop or reduce this kind of thinks. What do you > think? > > verna.lamay@balcanicsoft.com Hi, Found this in a Qt-newsgroup. Maybe this helps.. The statement is: "VC++ is not a C++ compiler. It emulates one." [Qt-newsmessage] VC++6 provides only a very limited subset of the C++ standard, somewhere around 80 - 85% of the standard I believe. It particularly has problems with its standard library (i.e. STL) support, which can best be described as substandard. Additionally, it lacks so many template features that it cannot be used for any of the more advanced C++ techniques such as type traits and the like. The hoops that boost.org et al have had to jump through are quite interesting. Heck, you can't even compile most C++ code in VC++6 with the highest warning level without getting hundreds of warnings from internal libraries! In the end, VC++6 is fine if you are doing only the most basic C++ coding. If you are doing anything more complex, though, you really need to upgrade. It is essentially a pre-C++98 compiler with a few C++98 features tacked on. VC++7.1 (NOT 7.0), by contrast, is quite impressive. It supports the vast majority of Standard C++ (not the export keyword, but that has Problems). It's standard library support is excellent, as is its support of templates. Furthermore, VC++7.1 has a good selection of warnings and has a lot of useful features for debugging. [/Qt-newsmessage] -- Kind regards Fester ________________________________________________________________________ It is better to die on your feet than to live on your knees. .