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

Even Rouault noreply at github.com
Tue Sep 10 05:49:53 PDT 2019


  Branch: refs/heads/master
  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: b326b0543bfcd220d6bbc4f8eef6141bd216d3ad
      https://github.com/mapserver/mapserver/commit/b326b0543bfcd220d6bbc4f8eef6141bd216d3ad
  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 #5865 from rouault/fix_maplexer_warning_on_windows

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


Compare: https://github.com/mapserver/mapserver/compare/963a7a1c7969...b326b0543bfc


More information about the mapserver-commits mailing list