public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [pkg cygwin-devel] /usr/include/sys/cpuset.h:52 error: missing return type
@ 2023-09-07 17:54 Marco Mason
  2023-09-08  5:18 ` Mark Geisert
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Mason @ 2023-09-07 17:54 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

I just updated to 3.4.9-1 and compiled some code, and it complained about
cpuset.h.
Specifically, "C++ requires a type specifier for all declarations", and
sure enough, there's no return type on line 52.  So I changed my local copy
to the following, and it cleared things up:

#define CPU_ZERO_S(siz, set) __cpuset_zero_s (siz, set)
static __inline /*MCM*/ void /*MCM*/
__cpuset_zero_s (__size_t siz, cpu_set_t *set)
{

I looked at a couple mailing list archives and saw that the cpuset.h header
was worked on recently, but couldn't track it down any closer.  I also
tried to find a git repository so I could find the commit so I could check
for similar errors on other headers, but couldn't find the repo for
cygwin-devel anywhere.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-08 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07 17:54 [pkg cygwin-devel] /usr/include/sys/cpuset.h:52 error: missing return type Marco Mason
2023-09-08  5:18 ` Mark Geisert
2023-09-08 13:21   ` Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).