Re: if !defined and #pragma once
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Wed, 02 Apr 2008 12:52:12 -0500
Yes, I guess that is obvious from the clear documentation Microsoft provides on _MSC_VER.
VS5 was such crap that not only didn't it work very well, but you couldn't build device
drivers using it. Since I was in the middle of writing the Device Drivers book at the
time, there was no point to installing a compiler that didn't work well and would make it
impossible to finish writing the book. VS5 also made sure that, if installed, VS4.2 would
stop working. By the time it made sense to consider it, the known bugs of VS5 were so
widely known that it was clear that it made no sense to replace 4.2, and finally 6.0 came
along, and it was designed to coexist with previous versions. (Some people never learn;
obviously this critical lesson had been forgotten by the introduction of VS2005, which
could not use VS2003 files without destroying their usability in VS2003. I hope to
install VS2008 in the next week or so, but I don't hold out a lot of hope that it is
actually an improvement.
joe
On Wed, 2 Apr 2008 10:07:44 -0700 (PDT), Ajay Kalra <ajaykalra@xxxxxxxxx> wrote:
On Apr 2, 11:52 am, Joseph M. Newcomer <newco...@xxxxxxxxxxxx> wrote:Joseph M. Newcomer [MVP]
VC5 had such a bad reputation that I used it only briefly. I believe the #pragma once was
introduced in VS6; I think the VS5 compiler was version 10.0
I thought the same but David mentioned that it was introduced in VC5
and its version was 1100.
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: if !defined and #pragma once
- From: BobF
- Re: if !defined and #pragma once
- References:
- Re: if !defined and #pragma once
- From: Ajay Kalra
- Re: if !defined and #pragma once
- From: David Wilkinson
- Re: if !defined and #pragma once
- From: Ajay Kalra
- Re: if !defined and #pragma once
- From: Joseph M . Newcomer
- Re: if !defined and #pragma once
- From: Ajay Kalra
- Re: if !defined and #pragma once
- Prev by Date: Re: if !defined and #pragma once
- Next by Date: Re: if !defined and #pragma once
- Previous by thread: Re: if !defined and #pragma once
- Next by thread: Re: if !defined and #pragma once
- Index(es):