[Info-vax] CRTL replacement (Re: Status of the PostgreSQL port?)

John Reagan xyzzy1959 at gmail.com
Tue Jun 30 22:27:20 EDT 2015


On Tuesday, June 30, 2015 at 8:07:40 PM UTC-4, Craig A. Berry wrote:
> On 6/30/15 7:02 AM, John Reagan wrote:
> > On Monday, June 29, 2015 at 11:04:28 PM UTC-4, Craig A. Berry wrote:
> >
> >>
> >> Given that we're still begging for the CRTL that DEC started in its
> >> heyday but never finished to get to some reasonable state of completion,
> >> I'd not be entirely happy to see VSI embarking on an entirely new one.
> >
> > Can you clarify on what "reasonable" is?
> 
> Passing a conformance test would be one good measure. I have not
> systematically gone through the C99 or POSIX standards or other library
> implementations and made a list of what's missing or doesn't work as
> expected in the CRTL. But when a compilation environment (compiler plus
> library) claims to be C99 but doesn't provide, fifteen years after the
> standard was issued, intmax_t, or the %z specifier to strftime, or other
> examples that could be readily multiplied, then it sure looks like no
> one else has either.

Where does the manual say that?  The compiler is C99, the RTL is not.  I'm aware of many of the RTL's missing features.  What would be a good conformance test in your opinion?  I think we already have Perenial99 but I'd have to double check.

>From the "C User Manual" preface:

HP C provides a conforming implementation of ISO/IEC 9899:1990 [1994],
sometimes informally called C89, C90, ANSI C, or standard C. It also provides
complete language support for ISO/IEC 9899:1999, informally called C99,
although not all run-time library routines are currently implemented, floating point environment access controls are not effective, and Annex F (the optional
_ _STDC_IEC_559_ _ extension) is not supported.


Even the C SPD has weasel words:

For OpenVMS Alpha and OpenVMS I64, a strict
C99 mode that compiles nearly in accordance with
the 1999 version of the C standard (ANSI/ISO/IEC
9899:1999), except that the support is not complete
and has not been fully verified against conformance
suites. This mode may be useful as
a preview of what will be considered conforming
source code under the new standard, but should
not be relied upon for production use until a future
release of both HP C and the HP C Run-
Time Library for OpenVMS containing complete
C99 support.



More information about the Info-vax mailing list