Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
git actions
#1
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 r9112+
Zitieren
#2
Nicht zstd installieren (und auch minupnpc ist kaputt in MinGW). Allerdings braucht makeobj keine zstd ...
Zitieren
#3
(18-05-2020, Monday-17:47:11 )prissi schrieb: .... Allerdings braucht makeobj keine zstd ...

Wie kommst Du drauf das das von Makeobj wäre?

Das ist schon Simutrans selber und für Linux.
Script-KI für Simutrans r9112+
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste