[...]
> 
> > MSVC deviates from the standard whichever switch you use. The code
> > doesn't need fixing, it needs a workaround.
> 
> So MSVC is broken... gosh, now there's a surprise.

Yes, they miss the standards in a lot of little ways. They don't seem to
have changed the compiler itself too much in the past few years. Maybe
VC 7 will be better.
 
> >       /Za - Can't cast an enum to ptr-to-void
> >       /Ze - Loop header vars have scope of containing block
> 
> What version of MSVC are you using? And what happens if you don't supply either
> switch?

VC 6. Using neither switch is the same as using /Ze.

Reply via email to