Re: Issues with _GL_CXXALIAS_SYS (strndup)

2020-01-04 Thread Martin Storsjö
Hi Bruno, On Sat, 4 Jan 2020, Bruno Haible wrote: Hi Martin, Thank you for the careful analysis. The root cause for this issue seems to be that clang has a builtin for the strndup function, even if the target platform actually doesn't have it. This manifests itself during configure like thi

Re: Issues with _GL_CXXALIAS_SYS (strndup)

2020-01-04 Thread Bruno Haible
Hi Martin, Thank you for the careful analysis. > The root cause for this issue seems to be that clang has a builtin for the > strndup function, even if the target platform actually doesn't have it. > > This manifests itself during configure like this: > > configure:31903: checking whether strn

Issues with _GL_CXXALIAS_SYS (strndup)

2020-01-02 Thread Martin Storsjö
Hi, When building a test package shared in https://savannah.gnu.org/bugs/?57406 (https://haible.de/bruno/gnu/testdir-posix-mingw.tar.gz) with my mingw/clang/libc++ based toolchain, I ran into some errors in the gltests subdirectory. One of the issues looks like this: ../gllib/string.h:920: