Re: tgmath

2017-09-27 Thread Kamil Rytarowski
On 27.09.2017 07:38, co...@sdf.org wrote: > Apparently we do have our own version we do not install. > https://nxr.netbsd.org/xref/src/include/tgmath.h > This version looks good. We could expand it with C11 fallback option for the !GCC compiler and make it default for -std=c11. I had in the past

Re: tgmath

2017-09-26 Thread coypu
Apparently we do have our own version we do not install. https://nxr.netbsd.org/xref/src/include/tgmath.h

Re: tgmath

2017-09-26 Thread Joerg Sonnenberger
On Tue, Sep 26, 2017 at 11:03:09PM +0200, Kamil Rytarowski wrote: > On 26.09.2017 22:33, Joerg Sonnenberger wrote: > > On Tue, Sep 26, 2017 at 10:28:23PM +0200, Kamil Rytarowski wrote: > >> Can we just import as-is the FreeBSD version? It has support for pre-C11 > >> compilers. This has header to b

Re: tgmath

2017-09-26 Thread Kamil Rytarowski
On 26.09.2017 22:33, Joerg Sonnenberger wrote: > On Tue, Sep 26, 2017 at 10:28:23PM +0200, Kamil Rytarowski wrote: >> Can we just import as-is the FreeBSD version? It has support for pre-C11 >> compilers. This has header to be supported in the clean C99 mode. > > I see absolutely no reason for wan

Re: tgmath

2017-09-26 Thread coypu
On Tue, Sep 26, 2017 at 10:28:23PM +0200, Kamil Rytarowski wrote: > Can we just import as-is the FreeBSD version? No. > Can we please reuse the template license header for new code? > Public-domain might be problematic for strict people (it does not work > for all countries). Absolutely not.

Re: tgmath

2017-09-26 Thread Joerg Sonnenberger
On Tue, Sep 26, 2017 at 10:28:23PM +0200, Kamil Rytarowski wrote: > Can we just import as-is the FreeBSD version? It has support for pre-C11 > compilers. This has header to be supported in the clean C99 mode. I see absolutely no reason for wanting to support tgmath.h in pre-C11 mode and a lot of v

Re: tgmath

2017-09-26 Thread Kamil Rytarowski
On 26.09.2017 21:49, co...@sdf.org wrote: > Hi folks, > > warning, if you like C for its simplicity, do not read the below post. > > while looking at the stdatomic nonsense versions, I noticed we are using > tgmath.h from gcc, but no tgmath.h from clang, if the set lists are to > believed. > > r