[Liblas-commits] [libLAS/libLAS] e789d4: las2col: use fflush for FILE*

GitHub noreply at github.com
Wed Oct 31 09:13:59 PDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/libLAS/libLAS
  Commit: e789d43df4500da0c12d2f6d3ac1d031ed835493
      https://github.com/libLAS/libLAS/commit/e789d43df4500da0c12d2f6d3ac1d031ed835493
  Author: Ben Boeckel <ben.boeckel at kitware.com>
  Date:   2018-10-31 (Wed, 31 Oct 2018)

  Changed paths:
    M apps/las2col.c

  Log Message:
  -----------
  las2col: use fflush for FILE*

The `fsync` function operates on file descriptors, not C `FILE`
pointers. Instead, use `fflush`.


  Commit: a445fa75a5205f09f201728d2f38b5f976bf108e
      https://github.com/libLAS/libLAS/commit/a445fa75a5205f09f201728d2f38b5f976bf108e
  Author: Ben Boeckel <ben.boeckel at kitware.com>
  Date:   2018-10-31 (Wed, 31 Oct 2018)

  Changed paths:
    M apps/lasindex_test.cpp

  Log Message:
  -----------
  lasindex_test: remove const casting

Just use `const char *` where possible to avoid unnecessary casting and
warnings about casting away qualifiers.


  Commit: f4ad631f2fb57c665f9f3a449a9d313b19502cae
      https://github.com/libLAS/libLAS/commit/f4ad631f2fb57c665f9f3a449a9d313b19502cae
  Author: Ben Boeckel <ben.boeckel at kitware.com>
  Date:   2018-10-31 (Wed, 31 Oct 2018)

  Changed paths:
    M apps/ts2las.cpp
    M src/detail/index/indexoutput.cpp
    M src/index.cpp

  Log Message:
  -----------
  exceptions: avoid slicing exceptions when catching

Exceptions should be caught by const-reference to avoid "slicing" out
the base class from a derived exception. While all exception objects are
ignored, this is a source for many GCC warnings.


  Commit: b2462879e153f938ba4534e82c48dac655e1ed91
      https://github.com/libLAS/libLAS/commit/b2462879e153f938ba4534e82c48dac655e1ed91
  Author: Ben Boeckel <ben.boeckel at kitware.com>
  Date:   2018-10-31 (Wed, 31 Oct 2018)

  Changed paths:
    M test/unit/CMakeLists.txt

  Log Message:
  -----------
  spatialreference_test: only build if geotiff is available


  Commit: c6f02ce1c195d0098d7c66ff6b207a3dd9c9a118
      https://github.com/libLAS/libLAS/commit/c6f02ce1c195d0098d7c66ff6b207a3dd9c9a118
  Author: Ben Boeckel <ben.boeckel at kitware.com>
  Date:   2018-10-31 (Wed, 31 Oct 2018)

  Changed paths:
    M test/unit/header_test.cpp
    M test/unit/tut/tut_assert.hpp

  Log Message:
  -----------
  gcc: fix warning suppression blocks

GCC doesn't support `#pragma clang` directives.


  Commit: 7bbcb10a46ffed34ae106081a77bd2949309427a
      https://github.com/libLAS/libLAS/commit/7bbcb10a46ffed34ae106081a77bd2949309427a
  Author: Howard Butler <howard at hobu.co>
  Date:   2018-10-31 (Wed, 31 Oct 2018)

  Changed paths:
    M apps/las2col.c
    M apps/lasindex_test.cpp
    M apps/ts2las.cpp
    M src/detail/index/indexoutput.cpp
    M src/index.cpp
    M test/unit/CMakeLists.txt
    M test/unit/header_test.cpp
    M test/unit/tut/tut_assert.hpp

  Log Message:
  -----------
  Merge pull request #151 from mathstuf/minor-fixups

Minor fixups


Compare: https://github.com/libLAS/libLAS/compare/c89277c5f87d...7bbcb10a46ff
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Liblas-commits mailing list