develooper Front page | perl.perl5.porters | Postings from May 2021

Re: C99

Thread Previous | Thread Next
Craig A. Berry
May 20, 2021 01:43
Re: C99
Message ID:
On Wed, May 19, 2021 at 8:31 AM Nicholas Clark <> wrote:

tl;dr, all 8 test programs compile without warning or error on:

$ cc/version
VSI C V7.4-001 on OpenVMS IA64 V8.4-2L1

> Sadly the VMS test system at on which I once had an account
> is no longer live, so I can't directly test things on VMS.

You could just ask me like everyone else does :-).  Or if you ssh to, you can sign up for a free account on an Alpha, but
Alphas are rather slow by current standards and I'm not sure how easy
it would be to get enough disk space to build Perl.  Small test
programs should be ok, though.

In a month or two there should be an early adopters' kit for OpenVMS
x64 that is expected to run on VirtualBox/KVM/VMWare. That should make
it easier to try things out at home.

The C99 situation on VMS, like everything else, is just a bit weirder
than elsewhere.  The compiler has mostly supported C99 for well over a
decade (closer to two), while the library has been somewhat lacking in
various areas, but of course the standard has never distinguished
between the compiler and the library.

Last year there was a patch that finally introduced stdint.h, moving
to it a lot of things that had been in inttypes.h and supplying a lot
of things that were missing. fpclassify() got some attention and the
%z format specifier finally became available.  va_copy is still not
available, but is expected to be on x86_64.  I cannot find a link to
public release notes that describe the current state of things, but as
far as I can tell, nothing being contemplated in the 8 test programs
posted here is impacted by recent or near-term future changes.

Next year there is supposed to be a port of clang++ as the C++ option
for VMS. It would be nice to be able to continue to do a core build
with a C++ compiler even if the main interest is headers for XS.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About