Re: C++ and VS 2002 .net

From: Hendrik Schober (SpamTrap_at_gmx.de)
Date: 08/11/04


Date: Wed, 11 Aug 2004 15:40:48 +0200

Val <valmont_programming@hotmail.com> wrote:
> I want to implement "Policy Based Design" but I don't find the vc7 compiler "friendly" enough for that.
> VC7.1 is the bare minimum in my view. Is there a way to upgrade the compiler and libraries to more recent
> iso/ansi standards?

  I don't think you'll find a significantly better
  std lib than the Dinkumware lib shipping with VC.
  (Other than a newer version of it, of course.)

  As for the compiler: You could buy Comeau C++.
  It's only 50$, and it's generally accepted as the
  best C++ compiler around. I have yet to find a
  bug in it (if I report an error for one of the
  other compilers we use, the statement that "como
  does (not) compile this" usually is enough to get
  the case accepted as a bug) and its diagnostics
  are really excellent. OTOH, it has at least two
  serious drawbacks: First, it generates C code
  and needs another compiler to generate obj files.
  (However, VC, which you already have, will do
  fine.) Second, it doesn't plug into the IDE.
  Writing this I remember that I heard that Intel's
  C++ compilers plugs into VS. I have never used it,
  though, and don't know how its compliance compares
  to VC7.1. (It was said to be far superior to VC6.
  But then, in this millenium, what wasn't?)

> Otherwise I'll need to port the living daylights out of me :)

  I do write a lot of template code on CodeWarrior.
  Its main advantage over VC is that it got two-phase
  lookup. The fact that VC misses this can make
  porting template code from VC to other compilers a
  PITA.

> Have a nice day,
> Val

  Schobi

-- 
SpamTrap@gmx.de is never read
I'm Schobi at suespammers dot org
"Sometimes compilers are so much more reasonable than people."
  Scott Meyers


Relevant Pages

  • Re: Avoiding C++ Templates In Cipher Implementation
    ... If you want to know if your template code ... then I suggest that you try it on some other compilers. ... Jefferson or B. Franklin or both...) ...
    (sci.crypt)
  • Re: Avoiding C++ Templates In Cipher Implementation
    ... André Pönitz wrote: ... If you want to know if your template code ... then I suggest that you try it on some other compilers. ... how does gcc stand in this issue? ...
    (sci.crypt)
  • Re: Bug in latest IAR MSP430 compiler optimization???
    ... It has been assigned bug id EW20095, and it will be fixed in the ... of Plum-Hall or Perennial plus several sets of in house test suites for ... IAR use an industry standard test suite like this and FOUR other extensive test systems they do edit. ... Compared to many other compilers IAR are very good at testing compilers and fixing any bugs. ...
    (comp.arch.embedded)
  • Re: Opinions on PGI vs. Lahey Fortran
    ... >> it hit a segmentation violation or other similarly fatal error. ... > that kind of problem is common with many compilers. ... > ideal behavior, but not a bug. ... > such as changing the value of i inside of the loop). ...
    (comp.lang.fortran)
  • Re: ARM compiler bug for memcpy/strcpy ?
    ... The compilers that come with Windows CE 5.0 are fixed. ... > Subject: Re: ARM compiler bug for memcpy/strcpy? ... >> Russ Keldorph ... >> OR if you wish to include a script sample in your post please add "Use ...
    (microsoft.public.windowsce.platbuilder)