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

Even Rouault noreply at github.com
Tue Sep 10 06:27:20 PDT 2019


  Branch: refs/heads/branch-7-4
  Home:   https://github.com/mapserver/mapserver
  Commit: af26db1c561cad48a19a07e16f67962d49c82c4e
      https://github.com/mapserver/mapserver/commit/af26db1c561cad48a19a07e16f67962d49c82c4e
  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: 2607cb172020cd1346824d0eb4e6896da4f88c70
      https://github.com/mapserver/mapserver/commit/2607cb172020cd1346824d0eb4e6896da4f88c70
  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:
  -----------
  Merge pull request #5867 from mapserver/backport-5865-to-branch-7-4

[Backport branch-7-4] maplexer.l: avoid warning about isatty() on Windows


Compare: https://github.com/mapserver/mapserver/compare/c47b4d62b827...2607cb172020


More information about the mapserver-commits mailing list