Re: VC 2003 namespace bug

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Carl Daniel [VC++ MVP] (cpdaniel_remove_this_and_nospam_at_mvps.org.nospam)
Date: 11/24/04


Date: Tue, 23 Nov 2004 18:28:43 -0800

Stephen Wilson wrote:
> Thanks for the responce.
>
> It used to work just fine in 2k2 - tho I realize it wasnt standards
> compilant (even tho both VC and Codewarrior handled it fine). I dont
> have a problem with the fact that the code is illegal - its how its
> mishandling it that scares me.
>
> This makes me think 2k3 has problems and probably not worth upgrading
> to - I'm evaluating it for my company. It will cost us a lot of money
> to upgrade.

In general, I've found using VC7.1 to be far more pleasant than 7.0.
There's no accounting for differences that will adversely affect your code,
but in general the 7.1 compiler is unquestionably the superior choice.

> Does 2k5 give the proper error?

Yes it does.

-cd