Recent versions of libgsf (since 1.14.43) have begun to fail to build in MinGW environments. The error is straightforward enough - a function signature definition differs between its forward declaration and its implementation. But I don't see any clear way that it differs. The same code compiles cleanly in the native libgsf with nary a hiccup. The specific error is as follows:
../../gsf/gsf-input.c:632:1: error: conflicting types for 'gsf_input_set_modtime_from_stat'
gsf_input_set_modtime_from_stat (GsfInput *input,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../gsf/gsf.h:54,
from ../../gsf/gsf-input.c:24:
../../gsf/gsf-input-impl.h:67:10: note: previous declaration of 'gsf_input_set_modtime_from_stat' was here
gboolean gsf_input_set_modtime_from_stat (GsfInput *input,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:706: gsf-input.lo] Error 1
Anyone know what could be different here vs in native builds? I've pushed a copy of my development branch to my own fork of the mingw-libgsf repo (https://src.fedoraproject.org/fork/greghellings/rpms/mingw-libgsf). It lives in the branch named 1_14_44. There is nothing about it that should differ in compilation between f28 and current Rawhide.
I'm definitely stumped at this. The two declarations look the same to me, but obviously there's something hidden in the bowels of these headers that changes the definitions between those two places. Any help would be appreciated.
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/4TCLVFW7PPNFGYSKGJUNGRPKQXI72IG2/