[mapserver-commits] [mapserver/mapserver] ce4cb9: maplexer.l: avoid warning about isatty() on Windows

backporting[bot] noreply at github.com
Tue Sep 10 05:49:59 PDT 2019


  Branch: refs/heads/cherry-pick-backport-5865-to-branch-7-4-ca7b400a-0f6f-4374-a002-befc60c3d602
  Home:   https://github.com/mapserver/mapserver
  Commit: ce4cb986f918df0f7fdeb80a909a78f08f994782
      https://github.com/mapserver/mapserver/commit/ce4cb986f918df0f7fdeb80a909a78f08f994782
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-09-10 (Tue, 10 Sep 2019)

  Changed paths:
    M maplexer.c
    M maplexer.l

  Log Message:
  -----------
  maplexer.l: avoid warning about isatty() on Windows

The latest regeneration of maplexer.c with a more recent version of flex
caused isatty() to be called, which caused a warning when building on Windows.
Parsing from an interactive terminal is not a use case for mapserver, so
add `%option never-interactive`.


  Commit: 05f45b0f617f5184b64a8a3a8a750792b7866f66
      https://github.com/mapserver/mapserver/commit/05f45b0f617f5184b64a8a3a8a750792b7866f66
  Author: backporting[bot] <42222807+backporting[bot]@users.noreply.github.com>
  Date:   2019-09-10 (Tue, 10 Sep 2019)

  Changed paths:
    M maplexer.c
    M maplexer.l

  Log Message:
  -----------
  Merge ce4cb986f918df0f7fdeb80a909a78f08f994782 into cherry-pick-backport-5865-to-branch-7-4-ca7b400a-0f6f-4374-a002-befc60c3d602 [skip ci]

skip-checks: true


Compare: https://github.com/mapserver/mapserver/compare/74c7bb3d68ba...05f45b0f617f


More information about the mapserver-commits mailing list