Re: [AD] MSVC 8 cl flags

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


Matthew Leverton wrote:
For MSVC 6 and MSVC 7, the /GB flag is default so it doesn't really
need to be there anyway. (According to the /? help anyway.)

IMHO there is no problem with removing /GB

Second, tons of standard things are deprecated. To suppress those
warnings, the "/wd4996" switch should be used. However, it is not
present on MSVC6, so it can only be added on the MSVC7 and later
targets.

I'm not sure if there is some possible way of msvc version detection, however easiest would be probably to add new msvc8 option.

For MS haters: do whatever you want with allegro 4.3+, however 4.2 should stay msvc compliant.

--
Regards,
    Michal

ICQ# 175762750




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