Re: Adding ?

2021-05-13 Thread Robert Elz
Date:Thu, 13 May 2021 16:00:56 -0700 From:John Nemeth Message-ID: <202105132300.14dn0uwz026...@server.cornerstoneservice.ca> | On May 13, 22:37, Joerg Sonnenberger wrote: | } The source is wrong to request strict C++14 | } compatibility and then use an extension

Re: Adding ?

2021-05-13 Thread John Nemeth
On May 13, 22:37, Joerg Sonnenberger wrote: } On Thu, May 13, 2021 at 09:58:50PM +0200, Jaromír Doleček wrote: } > Le jeu. 13 mai 2021 à 21:44, Joerg Sonnenberger a écrit : } > > > No we don't, unless you are using PCC :D } > > > } > > > The block in only provides an alloca(3) prototype, and

Re: Adding ?

2021-05-13 Thread Joerg Sonnenberger
On Thu, May 13, 2021 at 09:58:50PM +0200, Jaromír Doleček wrote: > Le jeu. 13 mai 2021 à 21:44, Joerg Sonnenberger a écrit : > > > No we don't, unless you are using PCC :D > > > > > > The block in only provides an alloca(3) prototype, and only > > > if the compiler already #defines alloca as __bu

Re: Adding ?

2021-05-13 Thread Jaromír Doleček
Le jeu. 13 mai 2021 à 21:44, Joerg Sonnenberger a écrit : > > No we don't, unless you are using PCC :D > > > > The block in only provides an alloca(3) prototype, and only > > if the compiler already #defines alloca as __builtin_alloca. > > > > While this works for gcc in some -std modes (e.g. gnu

Re: Adding ?

2021-05-13 Thread Joerg Sonnenberger
On Thu, May 13, 2021 at 12:51:45PM +0200, Jaromír Doleček wrote: > Le jeu. 13 mai 2021 à 01:04, Joerg Sonnenberger a écrit : > > > > On Wed, May 12, 2021 at 08:32:20PM +0200, Jaromír Doleček wrote: > > > Le mer. 12 mai 2021 à 13:50, Joerg Sonnenberger a écrit : > > > > > > > > On Wed, May 12, 202

Re: Adding ?

2021-05-13 Thread Jaromír Doleček
Le jeu. 13 mai 2021 à 12:58, Martin Husemann a écrit : > > On Thu, May 13, 2021 at 12:51:45PM +0200, Jaromír Dole?ek wrote: > > On the contrary, Linux explicitely #undefs alloca(), then > > #define alloca() as __builtin_alloca(), so it always works, regardless > > which -std. > > But isn't that o

Re: Adding ?

2021-05-13 Thread Martin Husemann
On Thu, May 13, 2021 at 12:51:45PM +0200, Jaromír Dole?ek wrote: > On the contrary, Linux explicitely #undefs alloca(), then > #define alloca() as __builtin_alloca(), so it always works, regardless > which -std. But isn't that obviously wrong and our version the correct one? (Well, maybe we shoul

Re: Adding ?

2021-05-13 Thread Jaromír Doleček
Le jeu. 13 mai 2021 à 01:04, Joerg Sonnenberger a écrit : > > On Wed, May 12, 2021 at 08:32:20PM +0200, Jaromír Doleček wrote: > > Le mer. 12 mai 2021 à 13:50, Joerg Sonnenberger a écrit : > > > > > > On Wed, May 12, 2021 at 08:38:39AM +0200, Jaromír Doleček wrote: > > > > would it be a bad thing