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

Re: C99

Thread Previous | Thread Next
Nicholas Clark
May 19, 2021 10:15
Re: C99
Message ID:
On Tue, May 18, 2021 at 03:58:14PM +0100, David Cantrell wrote:
> On Tue, May 18, 2021 at 02:23:31PM +0100, Paul LeoNerd Evans wrote:
> > Nicholas Clark <> wrote:
> > > Feature:     mixed declarations and code
> > > Feature:     member structure initialisers
> > > Feature:     vararg macros
> > In case it is of interest, I've been using all three of these in XS
> > modules on CPAN for a while now, and haven't yet encountered any
> > platforms which complain. No doubt there are some around, but those
> > don't seem to be ones that report smoketest results.
> If you're relying on CPAN testers for that you mostly won't get reports
> when your code fails to build. Most testers only report when the tests
> fail, and if your code won't even build the tests won't get run.  The
> reason for that is that we can't really tell automatically if the build
> failure is because of your broken code or our missing libraries that it
> tried to link against.

Also, I think that *most* CPAN testers are using gcc or clang, few are
on (old) MSVC, and approximately zero are on AIX, HP-UX or VMS, whose
vendor compilers are the most likely candidates for "being exacting".

So it's not a wonderful sample for compiler portability testing.

Nicholas Clark

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