On 2019-01-14 16:23, Thomas Huth wrote: > On 2019-01-14 16:02, Eric Blake wrote: >> On 1/14/19 8:53 AM, Thomas Huth wrote: [...] >>> The patch is only changing libiscsi_cflags, so it's not affecting the >>> entire project, but just the files that use libiscsi. >> >> Even so, limiting the damage to just the wrapper file that includes the >> problematic header rather than changing the command line for the entire >> compilation of those files that use libiscsi is even more precise. > > Then our only option is "#define inline /* nothing */", as far as I can > see...
Or this one, which seems to be a better idea to me: #define inline __attribute__((gnu_inline)) gnu_inline should give the same behavior like the "inline" keywords in gnu89 mode. Thomas
signature.asc
Description: OpenPGP digital signature