[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-changes
Subject:    [Perl/perl5] f16c94: Add <stdlib.h> for futimes compilation test.
From:       doughera88 <noreply () github ! com>
Date:       2019-12-29 23:03:50
Message-ID: Perl/perl5/push/refs/heads/blead/0ccddd-f82f0f () github ! com
[Download RAW message or body]

  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f16c94bc75aefb81949b423b399fac4071859f6d
      https://github.com/Perl/perl5/commit/f16c94bc75aefb81949b423b399fac4071859f6d
  Author: Andy Dougherty <doughera@lafayette.edu>
  Date:   2019-12-29 (Sun, 29 Dec 2019)

  Changed paths:
    M Configure

  Log Message:
  -----------
  Add <stdlib.h> for futimes compilation test.

Since the test uses exit(), the appropriate header should be
included.  clang++ throws an error otherwise.


  Commit: 793824db103f6f9040802055098223c7ab840ea4
      https://github.com/Perl/perl5/commit/793824db103f6f9040802055098223c7ab840ea4
  Author: Andy Dougherty <doughera@lafayette.edu>
  Date:   2019-12-29 (Sun, 29 Dec 2019)

  Changed paths:
    M Configure

  Log Message:
  -----------
  Use a compile and run test for lchown() to satisfy clang++.

For glibc, previous reports were that some functions (such as lchown())
are present in libc, but are unimplemented.  That is, they always fail
and set errno=ENOSYS.  Unfortunately, the stub test doesn't work under
clang++.  Thus use a compile and run test.  This should be more reliable.


  Commit: 7454e5720486ba26c2e118be22fa882782f4a00b
      https://github.com/Perl/perl5/commit/7454e5720486ba26c2e118be22fa882782f4a00b
  Author: Andy Dougherty <doughera@lafayette.edu>
  Date:   2019-12-29 (Sun, 29 Dec 2019)

  Changed paths:
    M Configure

  Log Message:
  -----------
  Fix strtoull() probe to run under clang++.

Include the appropriate header and get rid of slightly
incorrect prototype.  Change function return type to void
since we don't explicitly return a useful value.


  Commit: b4f9118ea19bf5b206dccb6a57283324ea8cc431
      https://github.com/Perl/perl5/commit/b4f9118ea19bf5b206dccb6a57283324ea8cc431
  Author: Andy Dougherty <doughera@lafayette.edu>
  Date:   2019-12-29 (Sun, 29 Dec 2019)

  Changed paths:
    M Configure

  Log Message:
  -----------
  Fix strtoll, strtoul, 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.


  Commit: f82f0f36c7188b6d7f74af1f59e412ab13c9564c
      https://github.com/Perl/perl5/commit/f82f0f36c7188b6d7f74af1f59e412ab13c9564c
  Author: Andy Dougherty <doughera@lafayette.edu>
  Date:   2019-12-29 (Sun, 29 Dec 2019)

  Changed paths:
    M Configure

  Log Message:
  -----------
  Include <stdio.h> in getpgrp/setpgrp probes for printf prototype.

C compilers typically issue a warning, but c++ compilers may abort with
an error.


Compare: https://github.com/Perl/perl5/compare/0ccddd991561...f82f0f36c718
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic