[wx-dev] CVS warnings from MSVC
Vadim Zeitlin
vadim at wxwindows.org
Wed Nov 1 06:19:59 PST 2006
On Tue, 31 Oct 2006 22:12:43 -0800 (GMT-08:00) Igor Korot <ikorot at earthlink.net> wrote:
IK> > Which version of MSVC is this? I thought we suppressed all warnings from
IK> >standard headers in VC6, so this must be 6 I suppose?
IK>
IK> Nope - 5. And I didn't have them couple of days ago...
Yes, this is what I meant, sorry for the typo. I don't know why does it
give the warnings 4018, 4244 and 4663 though -- they are all disabled in
wx/beforestd.h which is included before including <string> from wx/string.h
(and reenabled in wx/afterstd.h which is included afterwards). I did add
the warning 4100 to these files for VC5 but if it doesn't work for the
others, it probably is not going to work for this one neither. I'm afraid
you'll have to dig into the headers yourself to see what's going wrong
here, I don't have time nor possibility, without speaking of motivation, to
fix warnings in VC5 standard headers, sorry.
IK> >IK> I think that '/GZ" from wxUniv needs to be removed at least for
IK> >IK> consistency with MSW.
IK> >
IK> > Why do you think it's not used for wxMSW? It's there in wx_core.dsp.
IK>
IK> Maybe, because when compiling, the warning about "unknown option - /GZ" is
IK> NOT popping up?
Again, the option /GZ *is* in wxMSW project files as you can see by simply
opening them. I don't know why it provokes a warning in some cases and not
in the others but clearly removing it is not only a bad idea but also
unnecessary if it works for wxMSW.
Regards,
VZ
More information about the wx-dev
mailing list