[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unknown type name 'wint_t' when targeting Cygwin
From: |
Collin Funk |
Subject: |
Re: Unknown type name 'wint_t' when targeting Cygwin |
Date: |
Mon, 29 Apr 2024 00:22:41 -0700 |
User-agent: |
Mozilla Thunderbird |
Hi Bruno,
On 4/29/24 12:02 AM, Bruno Haible wrote:
> Which Cygwin version, please?
>
> Also, what is the gcc command line of this particular compilation unit?
> (`make V=1`)
While you wait for the answer to this, I noticed that Cygwin does
things similar to glibc. In sys/_types.h [1]:
#define __need_size_t
#define __need_wint_t
#include <stddef.h>
Hopefully that leads you down the right direction.
[1]
https://github.com/cygwin/cygwin/blob/579064bf4d408e99ed7556f36a3050c7ee99dee6/newlib/libc/include/sys/_types.h#L23
Collin