Re: Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-04 Thread Bruno Haible
Paul Eggert wrote: > On 3/2/21 7:09 PM, Bruno Haible wrote: > > + /* On TinyCC, make sure that the macros that indicate the special > > invocation > > + convention get undefined. */ > > +# ifdef __TINYC__ > > +# undef __need_wchar_t > > +# undef __need_size_t > > Would it be more rob

Re: Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-04 Thread Paul Eggert
On 3/2/21 7:09 PM, Bruno Haible wrote: + /* On TinyCC, make sure that the macros that indicate the special invocation + convention get undefined. */ +# ifdef __TINYC__ +# undef __need_wchar_t +# undef __need_size_t Would it be more robust to omit the "#ifdef __TINYC__" line, and u

Re: Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-03 Thread Luca Saiu
On 2021-03-03 at 04:09 +0100, Bruno Haible wrote: > I can see that the max_align_t problem is the only compilation error in > all of gnulib (excluding C++ sources). [...] Thank you Bruno. At least Jitter is fixed and the test suite now passes. Example programs using signals through Gnulib comp

Re: Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-02 Thread Bruno Haible
Luca Saiu wrote: > It is the version packaged by debian: > > [luca@moore ~]$ tcc --version > tcc version 0.9.27 (x86_64 Linux) OK. I can see that the max_align_t problem is the only compilation error in all of gnulib (excluding C++ sources). The max_align_t problem comes from two causes: 1) tc

Re: Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-02 Thread Luca Saiu
On 2021-03-02 at 23:29 +0100, Bruno Haible wrote: > Hi Luca, > >> I am seeing a little problem with Gnulib using TCC (the Tiny C >> Compiler) on a very ordinary platform, GNU/Linux x86_64 with glibc 2.31. > > Which version of TinyCC? There are no regular releases; the version 0.9.27 > is more than

Re: Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-02 Thread Bruno Haible
Hi Luca, > I am seeing a little problem with Gnulib using TCC (the Tiny C > Compiler) on a very ordinary platform, GNU/Linux x86_64 with glibc 2.31. Which version of TinyCC? There are no regular releases; the version 0.9.27 is more than three years old. So, before starting to test Gnulib with thi

Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-02 Thread Luca Saiu
Hello. I am seeing a little problem with Gnulib using TCC (the Tiny C Compiler) on a very ordinary platform, GNU/Linux x86_64 with glibc 2.31. I will use Jitter as a test case. This works: git clone https://git.savannah.gnu.org/git/gnulib.git cd jitter ./bootstrap mkdir -p _build/native _build/