bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unknown type name 'wint_t' when targeting Cygwin


From: Markus Mützel
Subject: Re: Unknown type name 'wint_t' when targeting Cygwin
Date: Mon, 29 Apr 2024 09:50:50 +0200

Hi Bruno,

Bruno Haible wrote

> Which Cygwin version, please?

That error occurred, e.g., in a CI run
https://github.com/gnu-octave/octave/actions/runs/8873331621/job/24358996111

The log of that run contains the following line:
Starting cygwin install, version 2.932

Is that the Cygwin version?
All packages should be the latest stable versions that are distributed by the 
Cygwin project.

> Also, what is the gcc command line of this particular compilation unit?
> (`make V=1`)

The CI uses a parallel make. IIUC, the following lines in the log match and 
reproduce one of the errors:

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../libgnu -I..     -Wno-cast-qual -Wno-conversion -Wno-float-equal 
-Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter 
-Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion 
-Wno-type-limits -Wno-unsuffixed-float-constants -g -O2 -MT 
libgnu_la-areadlink.lo -MD -MP -MF .deps/libgnu_la-areadlink.Tpo -c -o 
libgnu_la-areadlink.lo `test -f 'areadlink.c' || echo 
'../../libgnu/'`areadlink.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../libgnu -I.. -Wno-cast-qual 
-Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef 
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion 
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits 
-Wno-unsuffixed-float-constants -g -O2 -MT libgnu_la-areadlink.lo -MD -MP -MF 
.deps/libgnu_la-areadlink.Tpo -c ../../libgnu/areadlink.c  -DDLL_EXPORT -DPIC 
-o .libs/libgnu_la-areadlink.o

In file included from /usr/include/sys/reent.h:16,
                 from /usr/include/stdlib.h:18,
                 from ./stdlib.h:36,
                 from ../../libgnu/areadlink.h:21,
                 from ../../libgnu/areadlink.c:25:
/usr/include/sys/_types.h:167:5: error: unknown type name 'wint_t'
  167 |     wint_t __wch;
      |     ^~~~~~


Please, let me know if that is the information that you are looking for or if 
you need further details.

Markus





reply via email to

[Prev in Thread] Current Thread [Next in Thread]