unknown type name 'cpu_set_t' in newlib/libc/include/sched.h

Giacomo Tesio <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAHL7psHs8gOfYdkftAPQYWFtWr3f9h11KrmBPLrEi-aFEgZiUQ@mail.gmail.com>
On Monday, 12 August 2019, Corinna Vinschen <[email protected]> wrote:
> On Aug 12 02:28, Giacomo Tesio wrote:
>> Hello everybody,
>>
>> apparently commit 383e19ca552234fa9af47e80cb00d843a96de9e3 moved the
>> cpu_set_t typedef from newlib/libc/include/sched.h to cygwin specific
>> stuff, but left a few functions using such type behind and
>> unprotected.
>>
>> Is it intended?
>
> Probably not, if it leads to build errors on non-Cygwin, non-RTEMS.
>
> Does it?

Yes it produce build errore in my os port because I don't have it defined
anywhere.

You could either protect the functions with an ifdef or move back the
typedef to sched.h


Giacomo
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.