[parrot/parrot] 1a2f59: [GH #844] fix clang++ attributes, set -x c++ in cc

GitHub noreply at github.com
Wed Sep 26 15:27:24 UTC 2012


  Branch: refs/heads/rurban/clang++-gh844
  Home:   https://github.com/parrot/parrot
  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.


Compare: https://github.com/parrot/parrot/compare/843106d473bc...3fb8675b097a


More information about the parrot-commits mailing list