[parrot/parrot] 638ae8: env: no environ symbol anymore on windows msvc

GitHub noreply at github.com
Mon Jan 26 11:59:48 UTC 2015


  Branch: refs/heads/smoke-me/win64-msvc-gh1190
  Home:   https://github.com/parrot/parrot
  Commit: 638ae86dfacfdcb8a24d8d02ea15eb96e1913d8a
      https://github.com/parrot/parrot/commit/638ae86dfacfdcb8a24d8d02ea15eb96e1913d8a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M src/platform/win32/env.c
    M src/pmc/env.pmc

  Log Message:
  -----------
  env: no environ symbol anymore on windows msvc

Disable access to environ on _MSC_VER
Work started on unicode versions.
PARROT_HAS_PUTENV_S on _MSC_VER and use it.
See GH #1191


  Commit: 973c70fe6edb4c24acbe3a8d998889a495646f43
      https://github.com/parrot/parrot/commit/973c70fe6edb4c24acbe3a8d998889a495646f43
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M lib/Parrot/Configure/Compiler.pm

  Log Message:
  -----------
  [config] better documentation for Parrot/Configure/Compiler

cc_build and cc_run really have a monstrous and unusable api, which
deserves documentation.


  Commit: 5f3e5702e335af2f5abe003ccadf7d89324e26f4
      https://github.com/parrot/parrot/commit/5f3e5702e335af2f5abe003ccadf7d89324e26f4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M lib/Parrot/Configure/Compiler.pm

  Log Message:
  -----------
  [config] add exit_code to cc_run* api

at least with wantarray we should be able to seperate a positive
empty output (as in inter::progs) from a failed compilation.


  Commit: e33b83fdc0317ee7310ef862d20e590f9be04182
      https://github.com/parrot/parrot/commit/e33b83fdc0317ee7310ef862d20e590f9be04182
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M config/auto/msvc.pm

  Log Message:
  -----------
  [config] whitespace only


  Commit: 9fa0d2f38f1d09a1479cf5d38269fd9ba5f4e6f0
      https://github.com/parrot/parrot/commit/9fa0d2f38f1d09a1479cf5d38269fd9ba5f4e6f0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M config/inter/progs.pm

  Log Message:
  -----------
  [config] refactor inter::progs

do not pass cc around, we would need link also, but rather
take the used values from $conf.
test_compiler() needs to output a result, so that cc_run() has something
to return.


  Commit: bd37efeab2d6579bec7a74f9cd5c1784586c36d3
      https://github.com/parrot/parrot/commit/bd37efeab2d6579bec7a74f9cd5c1784586c36d3
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M config/init/hints/mswin32.pm

  Log Message:
  -----------
  [config] refactor windows hints for msvc

esp. for win64 with a strawberry perl, we cannot just take the
perl5 provided compiler settings. we need at least --cc=cl --link=link.

fix wrong g++ linker from strawberry on msvc.
provide -nologo
fixup msvcrt.lib with libcmt.lib for _environ access.
allow --link=cl flags also, in gcc fashion.


Compare: https://github.com/parrot/parrot/compare/6a6f30ef5374...bd37efeab2d6


More information about the parrot-commits mailing list