Ahoj,
with GCC 15.2.1, I get the following build errors:
fingerprint.c: In function 'otrng_plugin_fingerprint_get_active':
fingerprint.c:145:10: error: implicit declaration of function 'otrng_fingerprint_get_current'; did you mean 'otrng_fingerprint_get_current_peer'? [-Wimplicit-function-declaration]
145 | return otrng_fingerprint_get_current(conv->conv);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| otrng_fingerprint_get_current_peer
fingerprint.c:145:10: error: returning 'int' from a function with return type 'otrng_known_fingerprint_s *' makes pointer from integer without a cast [-Wint-conversion]
145 | return otrng_fingerprint_get_current(conv->conv);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:660: fingerprint.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
plugin-all.c: In function 'handle_event':
plugin-all.c:1466:8: error: 'OTRNG_MSG_EVENT_HEARTBEAT_RECEIVED' undeclared (first use in this function); did you mean 'OTRNG_MSG_EVENT_HEARTBEAT_SENT'?
1466 | case OTRNG_MSG_EVENT_HEARTBEAT_RECEIVED:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| OTRNG_MSG_EVENT_HEARTBEAT_SENT
plugin-all.c:1466:8: note: each undeclared identifier is reported only once for each function it appears in
plugin-all.c:1470:8: error: 'OTRNG_MSG_EVENT_WRONG_INSTANCE' undeclared (first use in this function)
1470 | case OTRNG_MSG_EVENT_WRONG_INSTANCE:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugin-all.c: In function 'otrng_plugin_unload':
plugin-all.c:1863:3: error: too many arguments to function 'otrng_plugin_prekey_discovery_unload'; expected 0, have 1
1863 | otrng_plugin_prekey_discovery_unload(handle);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
In file included from plugin-all.c:79:
prekey-discovery.h:70:6: note: declared here
70 | void otrng_plugin_prekey_discovery_unload();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Regards!