Projekt

Allgemein

Profil

Aktionen

Bug #306

offen

Gwenhywfar 5.11.1beta doesn't build in Mingw64

Von jralls@ceridwen.us vor mehr als 1 Jahr hinzugefügt. Vor etwa 1 Jahr aktualisiert.

Status:
Feedback
Priorität:
Normal
Kategorie:
Gwenhywfar
Beginn:
15.04.2024
Abgabedatum:
Betriebssystem:
Windows
AqBanking-Version:
NA, but attempting to build 6.5.8beta
Anwendung:
GnuCash
Version der Anwendung:

Beschreibung

In src/msgio/endpoint_msgio.c, endpoint_tcpc.c, endpoint_tcpd.c, and endpoint_multilayer.c:
error: conflicting types for '_freeData'; have 'void(void *, void *)'
64 | void _freeData(void *bp, void *p) | ^~~~~~~
note: previous declaration of '_freeData' with type 'void(void *, void *)'
30 | static void GWENHYWFAR_CB _freeData(void *bp, void *p); | ^~~~~~~

This is pretty easy to fix, just add GWENHYWFAR_CB to the definition of _freeData in each file.

But
C:/gcdev64/gnucash/stable/src/gwenhywfar-5.11.1beta/src/parser/tag16.c:26:10: fatal error: endian.h: No such file or directory
26 | #include <endian.h> | ^~~~~~~~
is another matter. Mingw64 doesn't provide an endian.h, nor are the functions defined in it (htole32, htole64, le32toh, le64toh) supported.
That same file also uses strndup that's also not supported in Mingw64.

Aktionen

Auch abrufbar als: Atom PDF