S
Seebs
But that changes the language as well as the library.
Yes.
Is it not
possible to use std=c99 and turn on the library extensions with macros?
Maybe what you need is not exactly obtainable but that route, but it
often is.
It might be, but it turns out to be a lot harder for me to get the right
subsets tweaking it by hand.
In terms of the library, no, but a great many more could be made
portable (between compilers) by relying only on library extensions
rather than language ones.
Portability between compilers, given the library extensions, is functionally
a non-issue. I've never heard of anyone actually using glibc with something
other than gcc, but I know lots of people using gcc with things other than
glibc.
I guess... Much though I love standard code, I think it makes a lot of
sense for implementations not to default to a conforming mode on most targets,
because that's almost never a mode in which complete real projects will
compile. Not never, but rarely enough to make it a poor default.
-s