pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/x11/gtk4



Patrick Welche <prlw1%talktalk.net@localhost> writes:

> On Sun, Aug 14, 2022 at 09:05:33PM +0000, Tobias Nygren wrote:
>> +Don't clash with builtin sincos(3).
>> +Needed because we disabled the sincos(3) test in meson.build.
>
> I had a got as far as noticing that when meson looks for functions
> in libm, it doesn't make use of math.h, which seems odd to me:
>
> https://github.com/mesonbuild/meson/issues/7652

Actually it's wrong not odd :-)   POSIX is clear that one must #include
<math.h> to use a bunch of functions.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/sin.html

I commented in the issue.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index