libtool related compile issue on msys2

Torsten Kühnel <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
Hi, i encountered 2 similar errors in an attempt to build check-0.14.0
and popt-1.16 on latest msys2.

...
./.libs/lt-ex_output.c: In function 'main':
./.libs/lt-ex_output.c:319:16: warning: implicit declaration of function '_spawnv'; did you mean 'spawnv'? [-Wimplicit-function-declaration]
  319 |   rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
      |                ^~~~~~~
      |                spawnv

A bit more detailed on https://pastebin.com/VKnYxXXm

For libcheck the problem can be solved by using cmake to build it. But
autotools/automake build system should work, too, as long as it is supported.

What i hope will be until the end of the universe :)

Configuring with any CFLAGS=-D_XOPEN_SOURCE=500 or such did not solve the problem.
Any help apreciated.
-- 
[email protected] <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.