[parrot/parrot] 1f0197: [core] fix __WORDSIZE for clang

GitHub noreply at github.com
Mon Oct 2 13:43:54 UTC 2017


  Branch: refs/heads/smoke/sizeof-gh1238
  Home:   https://github.com/parrot/parrot
  Commit: 1f01976e0058193c31f15a82e7b5b176ade7f625
      https://github.com/parrot/parrot/commit/1f01976e0058193c31f15a82e7b5b176ade7f625
  Author: Reini Urban <rurban at cpan.org>
  Date:   2017-10-02 (Mon, 02 Oct 2017)

  Changed paths:
    M include/parrot/compiler.h

  Log Message:
  -----------
  [core] fix __WORDSIZE for clang

Some clang's do not parse sizeof(void*) * 8, darwin and here esp. freebsd clang-4.
Thanksfully clang uses their own macro __SIZE_WIDTH__
for the GCC extension __WORDSIZE.
See GH #1238


  Commit: 23325a4eb39200767dbcb80ac47b99d950ba4842
      https://github.com/parrot/parrot/commit/23325a4eb39200767dbcb80ac47b99d950ba4842
  Author: Reini Urban <rurban at cpan.org>
  Date:   2017-10-02 (Mon, 02 Oct 2017)

  Changed paths:
    M Configure.pl
    M lib/Parrot/Headerizer.pm
    M lib/Parrot/Test.pm

  Log Message:
  -----------
  fix cperl compat and perl5.26

no . in @INC anymore.
use strict hashpairs
{ needs to be quoted in regexp.
Test::Builder->plan checks signature under cperl


Compare: https://github.com/parrot/parrot/compare/877d4338580c...23325a4eb392


More information about the parrot-commits mailing list