Re: improve clang support (6)

2020-08-07 Thread Bruno Haible
> 2020-08-07 Bruno Haible > > Use __builtin_alloca with clang. > * lib/alloca.in.h (alloca): Define as __builtin_alloca on clang. This goes with it: 2020-08-07 Bruno Haible alloca: No need to compile alloca.c with clang. * lib/alloca.c: Skip all code with clan

improve clang support (6)

2020-08-07 Thread Bruno Haible
clang supports __builtin_alloca. On Windows, it does not have an header file, and therefore the use of alloca(...) without any header file produces a warning warning: implicitly declaring library function 'alloca' with type 'void *(unsigned long long)' Therefore, the bestes choices for gnulib