DerivedSources should be compiled with -Wno-unused-parameter, to avoid useless warnings in Geoclue2Interface.c.
Created attachment 278989 [details] Patch
(In reply to comment #0) > DerivedSources should be compiled with -Wno-unused-parameter, to avoid > useless warnings in Geoclue2Interface.c. We really want to compile all derived sources this way, just because of that one file?
Comment on attachment 278989 [details] Patch I haven't seen this warning, maybe geoclue is disabled in my build. But I agree with Darin, we shouldn't disable unused parameter warnings because of one file. I prefer set_source_file_properties() for this problematic generated source.
(In reply to Csaba Osztrogonác from comment #3) > Comment on attachment 278989 [details] > Patch > > I haven't seen this warning, maybe geoclue is disabled in my build. > > But I agree with Darin, we shouldn't disable unused parameter warnings > because of > one file. I prefer set_source_file_properties() for this problematic > generated source. I guess I must have done this at some point in a different bug, because I think I remember fixing it, and it definitely does not occur anymore.