Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #10601

Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010"

From Miles Bader <miles@gnu.org>
Newsgroups comp.lang.c++
Subject Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010"
Date 2011-09-30 11:04 +0900
Message-ID <87fwjeeqg9.fsf@catnip.gol.com> (permalink)
References <bool-20110928162551@ram.dialup.fu-berlin.de> <j5vob3$1jf5$1@news.ett.com.ua> <slrnj88o6v.1bk.grahn+nntp@frailea.sa.invalid>

Show all headers | View raw


Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
> That surprises me -- it's a fairly visible and very dangerous bug, and
> I thought the MS compilers were really good these days. Or did I miss
> something? (I don't use them myself.)

MS compilers seem to optimize pretty well, etc, but _don't_ seem so
good at being standards-conforming.

I think one reason is that MS is reallly big on backward-
compatibility, even when it means continuing to support horrible
crufty old code that's completely invalid according to the standard.
So bugs and misfeatures of past releases have a way of getting locked
in...

[A big chunk of my time at work is twisting "but it compiled with VS!"
code into shape so that other compilers can compile it too...]

-miles

-- 
In New York, most people don't have cars, so if you want to kill a person, you
have to take the subway to their house.  And sometimes on the way, the train
is delayed and you get impatient, so you have to kill someone on the subway.
  [George Carlin]

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" "Balog Pal" <pasa@lib.hu> - 2011-09-28 20:17 +0200
  Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-09-29 12:13 +0000
    Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" "Balog Pal" <pasa@lib.hu> - 2011-09-29 21:39 +0200
      Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Paavo Helde <myfirstname@osa.pri.ee> - 2011-09-29 15:04 -0500
        Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" "Balog Pal" <pasa@lib.hu> - 2011-09-29 23:15 +0200
    Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Krice <paulkp@mbnet.fi> - 2011-09-29 12:49 -0700
    Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Miles Bader <miles@gnu.org> - 2011-09-30 11:04 +0900
      Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Paavo Helde <myfirstname@osa.pri.ee> - 2011-09-29 23:05 -0500
      Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-09-30 19:35 +0000
        Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Miles Bader <miles@gnu.org> - 2011-10-01 08:27 +0900
          Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Peter <pilarp@poczta.onet.pl> - 2011-10-03 14:28 -0700
            Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Leigh Johnston <leigh@i42.co.uk> - 2011-10-03 22:35 +0100
              Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Leigh Johnston <leigh@i42.co.uk> - 2011-10-03 22:43 +0100
                Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-10-04 09:21 +0000
                Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Leigh Johnston <leigh@i42.co.uk> - 2011-10-04 16:11 +0100
            Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Paavo Helde <myfirstname@osa.pri.ee> - 2011-10-03 23:10 -0500

csiph-web