17-05-2020, Sunday-22:09:04
(Dieser Beitrag wurde zuletzt bearbeitet: 17-05-2020, Sunday-22:19:53 von Andarix.)
jemand eine Idee dazu
Code:
===> HOSTCXX dataobj/loadsave.cc
dataobj/loadsave.cc: In member function ‘bool loadsave_t::rd_open(const char*)’:
dataobj/loadsave.cc:362:9: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^~
dataobj/loadsave.cc:356:8: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^~
dataobj/loadsave.cc: In member function ‘bool loadsave_t::wr_open(const char*, loadsave_t::mode_t, int, const char*, const char*)’:
dataobj/loadsave.cc:521:9: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^~
dataobj/loadsave.cc:527:37: error: ‘ZSTD_c_compressionLevel’ was not declared in this scope
ZSTD_CCtx_setParameter( fd->cctx, ZSTD_c_compressionLevel, level );
^~~~~~~~~~~~~~~~~~~~~~~
dataobj/loadsave.cc:527:37: note: suggested alternative: ‘ZSTD_decompressStream’
ZSTD_CCtx_setParameter( fd->cctx, ZSTD_c_compressionLevel, level );
^~~~~~~~~~~~~~~~~~~~~~~
ZSTD_decompressStream
dataobj/loadsave.cc:527:3: error: ‘ZSTD_CCtx_setParameter’ was not declared in this scope
ZSTD_CCtx_setParameter( fd->cctx, ZSTD_c_compressionLevel, level );
^~~~~~~~~~~~~~~~~~~~~~
dataobj/loadsave.cc:527:3: note: suggested alternative: ‘ZSTD_CCtx_s’
ZSTD_CCtx_setParameter( fd->cctx, ZSTD_c_compressionLevel, level );
^~~~~~~~~~~~~~~~~~~~~~
ZSTD_CCtx_s
dataobj/loadsave.cc: In member function ‘const char* loadsave_t::close()’:
dataobj/loadsave.cc:628:68: error: ‘ZSTD_e_end’ was not declared in this scope
ret = ZSTD_compressStream2( fd->cctx, &(fd->zout), &(fd->zin), ZSTD_e_end );
^~~~~~~~~~
dataobj/loadsave.cc:628:68: note: suggested alternative: ‘ZSTD_DDict’
ret = ZSTD_compressStream2( fd->cctx, &(fd->zout), &(fd->zin), ZSTD_e_end );
^~~~~~~~~~
ZSTD_DDict
dataobj/loadsave.cc:628:11: error: ‘ZSTD_compressStream2’ was not declared in this scope
ret = ZSTD_compressStream2( fd->cctx, &(fd->zout), &(fd->zin), ZSTD_e_end );
^~~~~~~~~~~~~~~~~~~~
dataobj/loadsave.cc:628:11: note: suggested alternative: ‘ZSTD_compressStream’
ret = ZSTD_compressStream2( fd->cctx, &(fd->zout), &(fd->zin), ZSTD_e_end );
^~~~~~~~~~~~~~~~~~~~
ZSTD_compressStream
dataobj/loadsave.cc: In member function ‘void loadsave_t::flush_buffer(int)’:
dataobj/loadsave.cc:813:67: error: ‘ZSTD_e_continue’ was not declared in this scope
ret = ZSTD_compressStream2( fd->cctx, &(fd->zout), &(fd->zin), ZSTD_e_continue );
^~~~~~~~~~~~~~~
dataobj/loadsave.cc:813:10: error: ‘ZSTD_compressStream2’ was not declared in this scope
ret = ZSTD_compressStream2( fd->cctx, &(fd->zout), &(fd->zin), ZSTD_e_continue );
^~~~~~~~~~~~~~~~~~~~
dataobj/loadsave.cc:813:10: note: suggested alternative: ‘ZSTD_compressStream’
ret = ZSTD_compressStream2( fd->cctx, &(fd->zout), &(fd->zin), ZSTD_e_continue );
^~~~~~~~~~~~~~~~~~~~
ZSTD_compressStream
dataobj/loadsave.cc: In member function ‘int loadsave_t::fill_buffer(int)’:
dataobj/loadsave.cc:925:36: warning: cast from type ‘const void*’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
r = fread( (void *)(fd->zin.src), 1, LS_BUF_SIZE, fd->fp );
^
common.mk:50: recipe for target 'build/default/dataobj/loadsave.o' failed
make: *** [build/default/dataobj/loadsave.o] Error 1
##[error]Process completed with exit code 2.
Script-KI für Simutrans r10894+ / Simutrans Nightly Builds