When warnings attack
JAnderson
ask at me.com
Sun Jul 13 00:05:32 PDT 2008
Bill Baxter wrote:
> Just saw this on John Ratcliff's Code Suppository
> http://codesuppository.blogspot.com/
>
> """
> When Microsoft released Visual Studio 2005 and had the unmitigated gall
> to issue a warning message for 'printf' I about blew a gasket. Now my
> code is littered with '#pragma warning(disable:4996)' to prevent VS2005
> from throwing warnings everywhere for 100% perfectly ANSII C compliant
> code!!!!!!!!!!
> """
>
> I haven't done much with VS2005 yet, because I found it to be rather
> more slow and bloated than VS2003, and they yet again changed all the
> key bindings around for no apparently good reason. And yeh, the "you
> must use our new and improved secure standard library" warning messages
> are annoying too. I think that's what John is referring to there.
>
> --bb
Why not just disable the warning in the compiler settings if you don't
agree with it. Are there some cases where you want that warning?
-Joel
More information about the Digitalmars-d
mailing list