New paste Repaste Download
/bin/sh /sources/gdal-3.0.2/libtool --mode=compile --silent --tag=CC gcc -I/sources/gdal-3.0.2/port -I/sources/gdal-3.0.2/gcore -I/sources/gdal-3.0.2/alg -I/sources/gdal-3.0.2/ogr -I/sources/gdal-3.0.2/ogr/ogrsf_frmts -I/sources/gdal-3.0.2/gnm -I/sources/gdal-3.0.2/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2  -Wall -Wdeclaration-after-statement -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdeclaration-after-statement -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -std=gnu89  -DGNM_ENABLED -I/sources/gdal-3.0.2/port -I/packages/netcdf_x86-4.8.1-2/.self/develop/headers/x86  -DGDAL_COMPILATION -c -o ../o/ceossar.lo ceossar.c
cadobjects.cpp: In static member function 'static bool CADVector::fcmp(double, double)':
cadobjects.cpp:40:22: error: 'numeric_limits' is not a member of 'std'
   40 | #define EPSILON std::numeric_limits<double>::epsilon() * 16
      |                      ^~~~~~~~~~~~~~
cadobjects.cpp:88:28: note: in expansion of macro 'EPSILON'
   88 |     return fabs( x - y ) < EPSILON ? true : false;
      |                            ^~~~~~~
cadobjects.cpp:40:37: error: expected primary-expression before 'double'
   40 | #define EPSILON std::numeric_limits<double>::epsilon() * 16
      |                                     ^~~~~~
cadobjects.cpp:88:28: note: in expansion of macro 'EPSILON'
   88 |     return fabs( x - y ) < EPSILON ? true : false;
      |                            ^~~~~~~
cadobjects.cpp:40:37: error: expected ';' before 'double'
   40 | #define EPSILON std::numeric_limits<double>::epsilon() * 16
      |                                     ^~~~~~
cadobjects.cpp:88:28: note: in expansion of macro 'EPSILON'
   88 |     return fabs( x - y ) < EPSILON ? true : false;
      |                            ^~~~~~~
cadobjects.cpp:40:43: error: expected unqualified-id before '>' token
   40 | #define EPSILON std::numeric_limits<double>::epsilon() * 16
      |                                           ^
cadobjects.cpp:88:28: note: in expansion of macro 'EPSILON'
   88 |     return fabs( x - y ) < EPSILON ? true : false;
      |                            ^~~~~~~
GNUmakefile:27: recipe for target '../../o/cadobjects.lo' failed
AND
make[3]: Entering directory '/sources/gdal-3.0.2/ogr/ogrsf_frmts/generic'
/bin/sh /sources/gdal-3.0.2/libtool --mode=compile --silent --tag=CXX g++ -std=c++11 -std=c++11 -I/sources/gdal-3.0.2/port -I/sources/gdal-3.0.2/gcore -I/sources/gdal-3.0.2/alg -I/sources/gdal-3.0.2/ogr -I/sources/gdal-3.0.2/ogr/ogrsf_frmts -I/sources/gdal-3.0.2/gnm -I/sources/gdal-3.0.2/apps -Weffc++ -Wold-style-cast -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -fpermissive  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wextra-semi -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant -Wsuggest-override -Wimplicit-fallthrough   -DINST_DATA=\"/packages/gdal302_x86-3.0.2-7/.self/data\" -DGENERIC_ENABLED -DGEOJSON_ENABLED -DKML_ENABLED -DMEM_ENABLED -DMITAB_ENABLED -DVRT_ENABLED -DAERONAVFAA_ENABLED -DARCGEN_ENABLED -DAVC_ENABLED -DBNA_ENABLED -DCAD_ENABLED -DCSV_ENABLED -DDGN_ENABLED -DDXF_ENABLED -DEDIGEO_ENABLED -DGEOCONCEPT_ENABLED -DGEORSS_ENABLED -DGML_ENABLED -DGMT_ENABLED -DGPSBABEL_ENABLED -DGPX_ENABLED -DGTM_ENABLED -DHTF_ENABLED -DJML_ENABLED -DMVT_ENABLED -DNTF_ENABLED -DOPENAIR_ENABLED -DOPENFILEGDB_ENABLED -DPGDUMP_ENABLED -DREC_ENABLED -DS57_ENABLED -DSEGUKOOA_ENABLED -DSEGY_ENABLED -DSELAFIN_ENABLED -DSHAPE_ENABLED -DSUA_ENABLED -DSVG_ENABLED -DSXF_ENABLED -DTIGER_ENABLED -DVDV_ENABLED -DWASP_ENABLED -DXPLANE_ENABLED -DIDRISI_ENABLED -DPDS_ENABLED -DSDTS_ENABLED -DAMIGOCLOUD_ENABLED -DCARTO_ENABLED -DCLOUDANT_ENABLED -DCOUCHDB_ENABLED -DCSW_ENABLED -DELASTIC_ENABLED -DGFT_ENABLED -DNGW_ENABLED -DPLSCENES_ENABLED -DWFS_ENABLED -DPCIDSK_ENABLED -I.. -I../..  -DGNM_ENABLED -I/sources/gdal-3.0.2/port -I/packages/netcdf_x86-4.8.1-2/.self/develop/headers/x86  -DGDAL_COMPILATION -c -o ../o/ogrsfdriverregistrar.lo ogrsfdriverregistrar.cpp
In file included from Lerc2.cpp:26:
Lerc2.h: In member function 'bool GDAL_LercNS::Lerc2::ReadTiles(const GDAL_LercNS::Byte**, size_t&, T*) const':
Lerc2.h:928:23: error: 'numeric_limits' is not a member of 'std'
  928 |       hd.nRows > std::numeric_limits<int>::max() - (mbSize - 1) ||
      |                       ^~~~~~~~~~~~~~
Lerc2.h:928:38: error: expected primary-expression before 'int'
  928 |       hd.nRows > std::numeric_limits<int>::max() - (mbSize - 1) ||
      |                                      ^~~
Lerc2.h:928:38: error: expected ')' before 'int'
  928 |       hd.nRows > std::numeric_limits<int>::max() - (mbSize - 1) ||
      |                                      ^~~
      |                                      )
Lerc2.h:927:5: note: to match this '('
  927 |   if( mbSize <= 0 || hd.nRows < 0 || hd.nCols < 0 ||
      |     ^
../../GDALmake.opt:637: recipe for target '../o/Lerc2.lo' failed
Filename: None. Size: 5kb. View raw, , hex, or download this file.

This paste expires on 2025-01-14 17:32:39.349121. Pasted through web.