This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix strtoll, strotoull, and strtouq probes to compile under clang++.
authorAndy Dougherty <doughera@lafayete.edu>
Mon, 30 Dec 2019 02:43:24 +0000 (21:43 -0500)
committerAndy Dougherty <doughera@lafayete.edu>
Tue, 31 Dec 2019 02:03:22 +0000 (21:03 -0500)
commit32c6b67b788a1616c67ae9422680682648323404
tree68ca11ff63837b5058104b8c36edddc5d12eafb6
parent27b21fc96c1364a10066f30d9102522d2b7902b2
Fix strtoll, strotoull, and strtouq probes to compile under clang++.

The test programs were missing the stdlib.h header, and needed
tweaks to the check() prototype to compile under clang++.  These
changes should be fine for C compilers as well, but they have typically
been more forgiving, so shouldn't be affected.
U/perl/d_strtoll.U
U/perl/d_strtoull.U
U/perl/d_strtouq.U