[GRASS-git] [OSGeo/grass] d79d6f: Fix setting PRI_OFF_T for 64bit Mac (#1256)

nilason noreply at github.com
Sat Feb 13 08:24:58 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: d79d6ff9038c2d95b00839444899700e83bb1a10
      https://github.com/OSGeo/grass/commit/d79d6ff9038c2d95b00839444899700e83bb1a10
  Author: nilason <n_larsson at yahoo.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M include/gis.h

  Log Message:
  -----------
  Fix setting PRI_OFF_T for 64bit Mac (#1256)

_FILE_OFFSET_BITS is not set for Mac compiling with clang, but off_t is
defined as a int64 (long long) type requiring a "lld" printf format.


  Commit: 05b8e058b8276fa893dbc2eb0bd217e10220b157
      https://github.com/OSGeo/grass/commit/05b8e058b8276fa893dbc2eb0bd217e10220b157
  Author: nila <n_larsson at yahoo.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M db/drivers/ogr/execute.c
    M lib/vector/Vlib/open_nat.c
    M lib/vector/Vlib/write.c
    M lib/vector/Vlib/write_nat.c
    M lib/vector/Vlib/write_ogr.c
    M lib/vector/Vlib/write_pg.c
    M raster/r.compress/main.c
    M raster/r.terraflow/main.cpp
    M raster/r.terraflow/stats.cpp
    M raster/r.terraflow/sweep.cpp
    M raster/r.viewshed/main.cpp
    M raster3d/r3.stats/support.c
    M tools/timer/main.c
    M vector/v.in.ascii/points.c
    M vector/v.lrs/v.lrs.create/main.c

  Log Message:
  -----------
  Match format specifier with argument type (#1256)

Addresses -Wformat compiler warnings.


Compare: https://github.com/OSGeo/grass/compare/1587392db7e8...05b8e058b827


More information about the grass-commit mailing list