Menu

#30 Crash on compilation, patch included

Gnome Searchmonkey
open
nobody
None
5
2025-10-13
2025-10-13
Photon
No

Hi guys,

I maintain the AUR package for Gnome Searchmonkey. A few days ago a building error has been reported which I could reproduce:

callbacks.c: In Funktion »on_cl_ear_history1_activate«:
callbacks.c:195:11: Fehler: Implizite Deklaration der Funktion »clearComboBox2«; meinten Sie »clearComboBox«? [-Wimplicit-function-declaration]
  195 |           clearComboBox2(lookup_widget(GTK_WIDGET(menuitem), "fileName"));
      |           ^~~~~~~~~~~~~~
      |           clearComboBox
callbacks.c: In Funktion »on_configResetAll_clicked«:
callbacks.c:1181:9: Fehler: Implizite Deklaration der Funktion »g_remove«; meinten Sie »remove«? [-Wimplicit-function-declaration]
 1181 |     if (g_remove(gConfigFile) != 0) {
      |         ^~~~~~~~
      |         remove
make[2]: *** [Makefile:409: callbacks.o] Fehler 1

The reported also submitted a patch which fixes the issue (I verified that it does), see attachment.

1 Attachments

Discussion


Log in to post a comment.