This fixes the issue reported here: https://cygwin.com/pipermail/cygwin/2023-October/254562.html
Not tested on 32bit. --8<---------------cut here---------------start------------->8--- diff --git a/Makefile.am b/Makefile.am index 3bd83dc4..70bfd032 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,7 +28,7 @@ AM_CFLAGS = $(BASECXXFLAGS) -Wmissing-declarations -Winline \ AM_YFLAGS = -d AM_LFLAGS = -8 WINDRES = @WINDRES@ -AM_CPPFLAGS = -D__USE_MINGW_ANSI_STDIO=1 -DLZMA_API_STATIC\ +AM_CPPFLAGS = -D__USE_MINGW_ANSI_STDIO=1 -D_FILE_OFFSET_BITS=64 -DLZMA_API_STATIC \ -I$(srcdir)/libgetopt++/include \ $(ZLIB_CFLAGS) $(LZMA_CFLAGS) $(ZSTD_CFLAGS) $(LIBCRYPT_CFLAGS) $(LIBSOLV_CFLAGS) diff --git a/UserSettings.cc b/UserSettings.cc index 51497255..c8ddd3d2 100644 --- a/UserSettings.cc +++ b/UserSettings.cc @@ -32,7 +32,7 @@ public: ssize_t read (void *buffer, size_t len) {return 0;} ssize_t write (const void *buffer, size_t len) {return 0;} ssize_t peek (void *buffer, size_t len) {return 0;} - long tell () {return 0;} + off_t tell () {return 0;} off_t seek (off_t, io_stream_seek_t) {return 0;} int error () {return 0;} void operator << (std::string); -- 2.42.0 --8<---------------cut here---------------end--------------->8--- Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs