[GRASS-git] [OSGeo/grass] dc5e3d: r.viewshed: Avoid integer overflow (#1275)

nilason noreply at github.com
Tue Feb 9 23:01:04 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: dc5e3db7171aeb62dad946f54467c6d0977f0bd6
      https://github.com/OSGeo/grass/commit/dc5e3db7171aeb62dad946f54467c6d0977f0bd6
  Author: nila <n_larsson at yahoo.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M raster/r.viewshed/viewshed.cpp

  Log Message:
  -----------
  r.viewshed: Avoid integer overflow (#1275)

Fixes -Winteger-overflow compiler warning.


  Commit: d1edbdd2e9fa2f4fdaeb11010b48640b2a4633d4
      https://github.com/OSGeo/grass/commit/d1edbdd2e9fa2f4fdaeb11010b48640b2a4633d4
  Author: nila <n_larsson at yahoo.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M imagery/i.evapo.pm/main.c

  Log Message:
  -----------
  i.evapo.pm: Fix missing output description (#1275)

Addresses -Wunused-value compiler warning.


  Commit: d9faf128abb0e72de33c9bbbbec5670ca1a2aaf0
      https://github.com/OSGeo/grass/commit/d9faf128abb0e72de33c9bbbbec5670ca1a2aaf0
  Author: nila <n_larsson at yahoo.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M vector/v.in.pdal/main.cpp

  Log Message:
  -----------
  v.in.pdal: Use 'char *' for Option->answer (#1275)

ISO C++11 does not allow conversion from string literal to 'char *'.

Addresses -Wwritable-strings compiler warnings.


  Commit: d2ac21d1add942032f10c4d1c000be67e299bf23
      https://github.com/OSGeo/grass/commit/d2ac21d1add942032f10c4d1c000be67e299bf23
  Author: nila <n_larsson at yahoo.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M vector/v.generalize/point.h

  Log Message:
  -----------
  Avoid declaring extern function with inline (#1275)

Addresses -Wundefined-inline compiler warnings.

See https://gcc.gnu.org/onlinedocs/gcc/Inline.html


  Commit: 1384f522622519e00300269a065cf5837858afda
      https://github.com/OSGeo/grass/commit/1384f522622519e00300269a065cf5837858afda
  Author: nila <n_larsson at yahoo.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M lib/display/draw2.c
    M lib/imagery/list_subgp.c
    M lib/raster3d/close.c

  Log Message:
  -----------
  Fix comparisons with 'logical not' on each side

as it is only applied to the left side of the comparison. (#1275)

Addresses -Wlogical-not-parentheses compiler warnings.

Co-authored-by: Markus Metz <markus.metz.giswork at gmail.com>


Compare: https://github.com/OSGeo/grass/compare/7f575a0490c4...1384f5226225


More information about the grass-commit mailing list