Closed Hjdskes closed 8 years ago
As GLib is heavily based on callbacks, with many many of them using user_data
, but not always useful, I tend to add -Wno-unused-parameter
to all my (GLib-based) projects.
And I consider -Werror
a bad idea (because way too many projects just add it unconditionally which breaks as soon as you update your compiler, bringing new unexpected warnings).
Anyway, I pushed e1f98d377f2b1dbeab224e48e9c55b7be99a9e14, please test.
Sorry for the late reply. Everything works perfectly, thanks you!
Hello,
I just came across this awesome library and am converting two projects (gvolicon and mpd-notify) to use it. However, both projects are compiled with extra warnings and errors enabled. The build then fails on unused variables (in this case in alsa-mixer, I have not checked the other files):
Is there something we can do about this? Preferably in libgwater, so that everyone benefits. I am willing to do the work if you give me a pointer on how best to do it.
Thanks!