Keith Thompson said:
Chris Hills said:
Keith Thompson said:
[...]
How can Microsoft's C library be conforming if it doesn't yet support
all of C99's requirements?
It is as good as most and better than quite a few I have been told by
people who should know.
The point, I presume, is that it conforms to C90 but not to C99 (as
many libraries do, at least to a first approximation).
No I was referring to C99
Just to be clear, you're saying that Microsoft's C library has good
(but presumably not quite complete) support for C99? That's
pleasantly surprising. The impression I've gotten here is that
Microsoft hasn't been particularly interested in C99 conformance.
[...]
The Safe C lib has about 2K functions in it. ISO C has 483? SO you
work out what the other 1500 are for.
I don't know what the other 1500 are for. Are you saying they're
Windows-specific?
That is what the fuss is about.
I assumed that embedded systems tend to be freestanding
implementations; if that's not correct, it's simply something I didn't
know, not narrow-mindedness.
It depends is the answer. On PIC's, 4, 8, 16, and 128 bit systems they
tend to be free-standing. On 32, and 64 bits hosted there are more that
are hosted. I think there are probably a dozen or so embedded RTOS and
OS (not all are hard real time) that is apart from Embedded XP, Wince
and Linux
Yes, there's more to life than embedded systems and PCs; that was
exactly my point. *If* this so-called "Safe C" library's primary
purpose is to provide safer versions of the existing standard C
library, then it should be equally useful on any hosted system.
Yes but as I said it has about 2000 functions in it and there are 480
(ish) in the standard library. If it was just the ISO library people
would not be complaining.
PCs
are just a subset of hosted systems, so I didn't understand why you
mentioned them. (I was thinking in particular of Unix systems, since
those are what I work on.)
I have just been given a couple of free SUN Ultra 10's
I used to
work on Solaris about a decade ago so I am looking forward to getting
them installed on the network. Fortunatley they have VGA cards in them.
If, on the other hand, it contains a lot
of Windows-specific functionality, then offering it for
standardization doesn't make any sense -- nor does discussing it here,
really.
It does make a lot of sense to have a TR that contains all your OS
specific stuff in because then it is *ISO APPROVED* and any library
that does not contain your proprietary functions is not......
However as you discuss Standard C in this NG and take that to mean
C89-C99 + any TC, CD and TR it will by your own definition be valid for
discussion here.
You only have to look at the bun fight over C++/CLI to see where this is
going.
So, what are those other 1500 functions for?
MS Windows AFAIK though I expect they will argue that "anyone" can use
them.