jj2007 wrote:Try defining a global variable g_mutex_unlock. Sometimes that helps.
With any ad, the compiler reports a double add (Duplicated definition...)
TJF wrote:Just for curiosity: which source code throughs this error? (You'll never need this function, unless you create your own widgets, multithreaded at low level GLib programming.)
Absolutely ANY code displays this error message. Maybe this error is due to the fact that I'm using GTK 2.24.10 ? Just how I put this version many years ago, I did not change it. Compilers of freebasic versions: up to 1.03 worked without problems , version 1.04 did not try, and version 1.05 highlights an error on any source code
added last:If in the file
inc\glib.bi, in the procedure
g_mutex_locker_free comment
g_mutex_unlock, then the error disappears:
Code: Select all
Private sub g_mutex_locker_free(byval locker as GMutexLocker ptr)
g_mutex_unlock(cptr(GMutex ptr, locker))
end sub
But this is wrong, but suddenly this function will be needed...