tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ld compat linker warnings considered harmful
> [...library function versioning...]
> There is also a linker warning so that you do not use the old
> functions by accident, because you forgot including the header, e.g.:
> ld: /usr/lib/libm.so.0: warning: warning: reference to compatibility cabs()
> The (known) problem is that this linker warning also triggers when it
> shouldn't, [...]
> The latest meson now defaults to fatal linker warnings, which causes
> programs fail to build because of this.
> [...]
> Can someone please fix the linker warnings so they only trigger when
> necessary?
Well, I think fixing the linker warnings would be good.
But!
Really, I think this is *also* a bug in meson, or at least meson's
defaults. The distinction between warnings and errors is there for a
reason, and meson is now trying to efface that (useful!) distinction.
And that, that is really meson's fault.
If I used meson - and they had a working bug-reporting address, which
seems to be depressingly rare these days - I'd be filing a bug report.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index