[parrot/parrot] fad1f1: Merge branch 'rurban/preload-config-steps-gh833' i...

GitHub noreply at github.com
Wed Sep 26 16:31:16 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: fad1f1eb476621ee0ecb1e786a8528a04a7773ad
      https://github.com/parrot/parrot/commit/fad1f1eb476621ee0ecb1e786a8528a04a7773ad
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-23 (Sun, 23 Sep 2012)

  Changed paths:
    M Configure.pl

  Log Message:
  -----------
  Merge branch 'rurban/preload-config-steps-gh833' into rurban/clang++-gh844


  Commit: 59b678a81d739072988a556813048b264144f885
      https://github.com/parrot/parrot/commit/59b678a81d739072988a556813048b264144f885
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-23 (Sun, 23 Sep 2012)

  Changed paths:
    M config/gen/config_h/feature_h.in
    M include/parrot/datatypes.h
    M lib/Parrot/Configure/Step/List.pm

  Log Message:
  -----------
  [GH #844] Add clang++ support, new auto::alignof step

clang++ does not allow struct definitions inside a type specifier,
offsetof() in datatypes.h
Thus probe for clang++ only for all ALIGNOF values in a
new auto::alignof step. This is normally skipped. Add the
definitions to feature.h.


  Commit: 5b1e564bd37e2541ef3c8572615ababf98e94cf0
      https://github.com/parrot/parrot/commit/5b1e564bd37e2541ef3c8572615ababf98e94cf0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M ChangeLog
    M Configure.pl
    M config/auto/warnings.pm
    M config/gen/makefiles/root.in
    M docs/binaries/parrot.pod
    M docs/running.pod
    M examples/pir/sudoku.pir
    M frontend/parrot2/main.c
    M frontend/parrot2/prt0.pir
    M frontend/parrot2/prt0.winxed
    M lib/Parrot/Pmc2c/Method.pm
    M lib/Parrot/Pmc2c/PMC/Null.pm
    M runtime/parrot/library/MIME/Base64.pir
    M src/dynpmc/gziphandle.pmc
    M src/ops/core.ops
    M src/ops/core_ops.c
    M src/platform/generic/cpu_type.c
    M src/pmc/addrregistry.pmc
    M src/pmc/bytebuffer.pmc
    M src/pmc/class.pmc
    M src/pmc/continuation.pmc
    M src/pmc/default.pmc
    M src/pmc/key.pmc
    M src/pmc/orderedhashiterator.pmc
    M src/pmc/pointer.pmc
    M src/pmc/scheduler.pmc
    M src/pmc/sub.pmc
    M src/pmc/undef.pmc
    M t/dynpmc/select.t
    M t/library/mime_base64.t
    M t/pmc/filehandle.t
    M t/pmc/nci.t
    M t/pmc/parrotio.t
    M t/pmc/stringhandle.t

  Log Message:
  -----------
  Merge branch 'master' into rurban/clang++-gh844


  Commit: 1a2f59bf151c8d8f17fe09691ef71fdf515f78c4
      https://github.com/parrot/parrot/commit/1a2f59bf151c8d8f17fe09691ef71fdf515f78c4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-26 (Wed, 26 Sep 2012)

  Changed paths:
    M config/auto/attributes.pm
    M config/auto/gcc.pm
    M config/auto/warnings.pm

  Log Message:
  -----------
  [GH #844] fix clang++ attributes, set -x c++ in cc

clang++ prints always a warning on c sources.
Move -x c++ from warnings upfront to cc, probed in auto::gcc
to be able to correctly probe for warnings and attributes.
This fixed almost all clang++ warnings, only dynoplibs
-Wno-parentheses-equality is missing for those.


  Commit: 665f7d5096b157e68a73fda10b5047c429e01f41
      https://github.com/parrot/parrot/commit/665f7d5096b157e68a73fda10b5047c429e01f41
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-26 (Wed, 26 Sep 2012)

  Changed paths:
    M MANIFEST
    A config/auto/alignof.pm
    A config/auto/alignof/test_c.in
    M lib/Parrot/Configure/Step/List.pm

  Log Message:
  -----------
  [GH #844] add missing auto::alignof files

Add files to MANIFEST
Use auto::alignof as last auto step


  Commit: 3fb8675b097aa64c373f670ebfd8d7b0dc8d8c68
      https://github.com/parrot/parrot/commit/3fb8675b097aa64c373f670ebfd8d7b0dc8d8c68
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-26 (Wed, 26 Sep 2012)

  Changed paths:
    M config/auto/alignof.pm
    M config/auto/alignof/test_c.in
    M config/gen/config_h/feature_h.in
    M include/parrot/datatypes.h

  Log Message:
  -----------
  [GH #844] Probe for valid offsetof in structs (clang++)

Before we hardcoded clang++ as only compiler which does not compile
struct definitions inside a type specifier, offsetof() in datatypes.h.
Probe now for this behavior, and set HAS_COMPILER_OFFSETOF_ALIGNOF.
1 if allowed at compile-time, and undef if not and various
PARROT_ALIGN_<type> definitions are precomputed.

Also fix parrot/datatypes.h codingstd.


  Commit: df26e9a1612cb4ec5d1242d9520b13b8034cac24
      https://github.com/parrot/parrot/commit/df26e9a1612cb4ec5d1242d9520b13b8034cac24
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-26 (Wed, 26 Sep 2012)

  Changed paths:
    M config/auto/warnings.pm

  Log Message:
  -----------
  [GH #844] use $conf->data->{cc} for clang++ as it has -x c++ added

This enables proper clang++ warnings.


  Commit: e6c9077e612449502768ff5111cf9491696f4155
      https://github.com/parrot/parrot/commit/e6c9077e612449502768ff5111cf9491696f4155
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-26 (Wed, 26 Sep 2012)

  Changed paths:
    M config/gen/makefiles.pm
    M src/dynoplibs/Defines.in
    M src/dynoplibs/Rules.in

  Log Message:
  -----------
  [GH #844] Improve makefile rules

Add clang suffix overrides or dynoplibs (-Wno-parentheses-equality)
Improve the DYNOPLIBS defines.


  Commit: 9b4f7abc220552929f70d2270a6c6094182e698f
      https://github.com/parrot/parrot/commit/9b4f7abc220552929f70d2270a6c6094182e698f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-26 (Wed, 26 Sep 2012)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  [GH #844] Add ChangeLog entry

And improve a couple of others.


Compare: https://github.com/parrot/parrot/compare/14fa643cca79...9b4f7abc2205


More information about the parrot-commits mailing list