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

Even Rouault noreply at github.com
Tue Sep 10 05:50:02 PDT 2019


  Branch: refs/heads/backport-5865-to-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`.




More information about the mapserver-commits mailing list