🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3275

Re: Are all Windows programs ill-formed?

#3275
From: Richard Krehbiel
Date: Wed, 07 Feb 1996 03:18
42 lines
2661 bytes
fjh@munta.cs.mu.OZ.AU (Fergus Henderson) wrote:

>I did not claim that any or all Windows compilers were not conforming.
>I simply pointed out what they were required to do in order to conform.

>I did say that

>| I think the problem is due to Microsoft overlooking the C and C++
>| standards, not vice versa.

>but the problem I was referring to was not that Microsoft's compilers
>don't conform to the standard (most likely they do) but rather that
>Microsoft encourages people to write non-portable, non-standard-conforming
>code which is then subject to the usual problems of vendor lock-in.

YES, YES, YES.  This is IT.

*IF* Microsoft decides that it's profitable, they may in the future
allow a standard-conforming C++ program to be compiled and executed.
My guess is that they won't bother.  It'll be easy enough to feign
"true compatability" while taking as much liberty as GNU does,
blithely compiling and executing programs that the standard says
should fail with diagnostics.

I know full well that my Windows programs follow Microsoft's
standards, and not anyone elses; Microsoft C, not ANSI or ISO; ODBC,
not SQL-92 nor SAG CLI, etc.

My only hope of "portability" is on a smaller component level.  I can
write fully ANSI-compliant functions and objects, but once compiled
and linked into a Windows program the whole becomes Microsoft-defined.

For what it's worth, I think the answer to the subject line is "yes".
All Windows programs are ill-formed according to the C++ standard.

--
Richard Krehbiel, Kastle Systems, Arlington VA USA
rich@kastle.com (work) or richk@mnsinc.com (personal)
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  Moderation policy:
  http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
Technical Details
Message-ID: <1996Feb6.152240.14257@friend.kastle.com>
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back
References: <AE5J83na99@qsar.chem.msu.su> <9602010236.26117@mulga.cs.mu.OZ.AU> <9602021032.AA05302@lts.sel.alcatel.de> <4evp66$a58@mulga.cs.mu.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back
From: rich@kastle.com (Richard Krehbiel)
Newsgroups: comp.std.c++
Subject: Re: Are all Windows programs ill-formed?
Date: 07 Feb 96 03:18:11 GMT
Organization: Kastle Development Associates
Approved: fjh@cs.mu.oz.au
Message-ID: <1996Feb6.152240.14257@friend.kastle.com>
References: <AE5J83na99@qsar.chem.msu.su> <9602010236.26117@mulga.cs.mu.OZ.AU> <9602021032.AA05302@lts.sel.alcatel.de> <4evp66$a58@mulga.cs.mu.OZ.AU>
Reply-To: rich@kastle.com
NNTP-Posting-Host: munta.cs.mu.oz.au
X-Original-Date: Tue, 6 Feb 1996 15:21:52 GMT
X-Newsreader: Forte Free Agent 1.0.82
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMRgabOEDnX0m9pzZAQFWuQF/VPLo/clOMVeo0/VWVLHBz8LPbCtkeKz+
 kZW7rQJ4MSbz2cG7DE8cH/z88UFIB+Xu
 =cRfy
Originator: fjh@munta.cs.mu.OZ.AU