[dylan-lang/melange] d0f463: Allow having per-platform "undefines".

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <5585304dddaf1_485d3f903913929c8054b@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/melange
  Commit: d0f4635043f9da75200a968bd5185c140afea6c8
      https://github.com/dylan-lang/melange/commit/d0f4635043f9da75200a968bd5185c140afea6c8
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-06-19 (Fri, 19 Jun 2015)

  Changed paths:
    M melange-core/library.dylan
    M melange-core/x86-darwin-portability.dylan
    M melange-core/x86-freebsd-portability.dylan
    M melange-core/x86-linux-portability.dylan
    M melange-core/x86-win32-portability.dylan
    M melange-core/x86_64-darwin-portability.dylan
    M melange-core/x86_64-linux-portability.dylan
    M melange/interface.dylan

  Log Message:
  -----------
  Allow having per-platform "undefines".

We need this for a subsequent change to override some default
defines that clang has on Mac OS X.

* melange-core/library.dylan
  (module portability): Export $default-undefines.

* melange-core/x86-darwin-portability.dylan
  ($default-undefines): New constant.

* melange-core/x86-freebsd-portability.dylan
  ($default-undefines): New constant.

* melange-core/x86-linux-portability.dylan
  ($default-undefines): New constant.

* melange-core/x86-win32-portability.dylan
  ($default-undefines): New constant.

* melange-core/x86_64-darwin-portability.dylan
  ($default-undefines): New constant.

* melange-core/x86_64-linux-portability.dylan
  ($default-undefines): New constant.

* melange/interface.dylan
  (process-parse-state): Process default undefines.
  (show-usage): Mention new --undefines option.
  (show-default-undefines): Implement --undefines.
  (show-help): Mention --undefines.
  (main): Add new command option for --undefines.


  Commit: 71a093b9ea709fe0270e125970d1e7475f84266d
      https://github.com/dylan-lang/melange/commit/71a093b9ea709fe0270e125970d1e7475f84266d
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-06-20 (Sat, 20 Jun 2015)

  Changed paths:
    M melange-core/portability-helpers.dylan
    M melange-core/x86-darwin-portability.dylan
    M melange-core/x86-freebsd-portability.dylan
    M melange-core/x86-linux-portability.dylan
    M melange-core/x86_64-darwin-portability.dylan
    M melange-core/x86_64-linux-portability.dylan

  Log Message:
  -----------
  Consolidate per-platform default definition config.

* melange-core/portability-helpers.dylan
  ($gcc-or-clang-defines): New constant containing the typical
    definitions that we use with gcc and clang to work around
    deficiencies in the C parsing in melange.

* melange-core/x86-darwin-portability.dylan
  ($melange-defines): New contstant with per-platform defines.
  ($default-defines): Configure using $melange-defines, $gcc-or-clang-defines,
    and get-compiler-defines.
  ($default-undefines): New, specific to OS X default configuration to work
    around an issue with the API availability headers.

* melange-core/x86-freebsd-portability.dylan
  ($melange-defines): New contstant with per-platform defines.
  ($default-defines): Configure using $melange-defines, $gcc-or-clang-defines,
    and get-compiler-defines.

* melange-core/x86-linux-portability.dylan
  ($melange-defines): New contstant with per-platform defines.
  ($default-defines): Configure using $melange-defines, $gcc-or-clang-defines,
    and get-compiler-defines.

* melange-core/x86_64-darwin-portability.dylan
  ($melange-defines): New contstant with per-platform defines.
  ($default-defines): Configure using $melange-defines, $gcc-or-clang-defines,
    and get-compiler-defines.
  ($default-undefines): New, specific to OS X default configuration to work
    around an issue with the API availability headers.

* melange-core/x86_64-linux-portability.dylan
  ($melange-defines): New contstant with per-platform defines.
  ($default-defines): Configure using $melange-defines, $gcc-or-clang-defines,
    and get-compiler-defines.


Compare: https://github.com/dylan-lang/melange/compare/aff373f6bbb0...71a093b9ea70

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.