techee left a comment (geany/geany-plugins#1476)

>> I'm not sure if we have the same thing in mind - I thought about adding 
>> -DG_GNUC_FALLTHROUGH to gcc arguments on glib < 2.60 so the macro would get 
>> defined and it wouldn't require source code modification.

> Oh, my bad. Still untested, but something like this: ...

Unfortunately, with `-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56` it produces 
`warning: Not available before 2.60` on newer glib versions (which is what we 
told it to do with GLIB_VERSION_MAX_ALLOWED) so I think the only option here is 
to really patch the library if we want to use 
`-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56` (which I think is a good idea).



-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1476#issuecomment-3054184934
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/1476/[email protected]>

Reply via email to