Re: [AD] MSVC 8 cl flags

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> MSDN recommends this define on his page about C4996 Warning:
> http://msdn2.microsoft.com/library/ttcz0bys(en-us,vs.80).aspx
> 
> However I have not msvc8 beta so I cannot test it myself.
>
I tested, and if both _CRT_SECURE_NO_DEPRECATE and
_CRT_NONSTDC_NO_DEPRECATE are defined, the hundreds of warnings go
away.

I also noticed that $(CFLAGS) is not used when building asmdef.exe. Is
there any particular reason? I plan on creating a MSVC8 target that
would include those defines in the CFLAGS. But if asmdef.exe doesn't
use it, then you still get a warning when building that.

--
Matthew Leverton




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/