r-lidar / rlas

R package to read and write las and laz files used to store LiDAR data
https://cran.r-project.org/package=rlas
GNU General Public License v3.0
34 stars 14 forks source link

Problem with __int64 and %I64u #62

Closed Jean-Romain closed 1 year ago

Jean-Romain commented 1 year ago
  LASlib/lasreader_txt.cpp:286:26: warning: ISO C++11 does not support the 'I64' ms_scanf length modifier [-Wformat=]
  LASlib/lasreader_txt.cpp:652:26: warning: ISO C++11 does not support the 'I64' ms_scanf length modifier [-Wformat=]
  LASlib/lasutility.cpp:852:21: warning: ISO C++11 does not support the 'I64' ms_printf length modifier [-Wformat=]
  LASlib/lasutility.cpp:854:21: warning: ISO C++11 does not support the 'I64' ms_printf length modifier [-Wformat=]
  LASlib/lasreader.cpp:2981:24: warning: ISO C++11 does not support the 'I' scanf flag [-Wformat=]
  LASlib/lasreader.cpp:2981:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'I64*' {aka 'long long int*'} [-Wformat=]
  LASlib/lasreader.cpp:3140:24: warning: ISO C++11 does not support the 'I' scanf flag [-Wformat=]
  LASlib/lasreader.cpp:3140:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'I64*' {aka 'long long int*'} [-Wformat=]
  LASlib/lasreader_ply.cpp:1591:31: warning: ISO C++11 does not support the 'I64' ms_scanf length modifier [-Wformat=]
  LASlib/laswriter_txt.cpp:171:21: warning: ISO C++11 does not support the 'I64' ms_printf length modifier [-Wformat=]
  LASlib/laswriter_txt.cpp:226:23: warning: ISO C++11 does not support the 'I64' ms_printf length modifier [-Wformat=]
  LASlib/laswriter_txt.cpp:522:21: warning: ISO C++11 does not support the 'I64' ms_printf length modifier [-Wformat=]
  LASlib/laswriter_txt.cpp:529:21: warning: ISO C++11 does not support the 'I64' ms_printf length modifier [-Wformat=]