Re: ld compat linker warnings considered harmful

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
> [...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		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.