From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by sourceware.org (Postfix) with ESMTPS id B3D513858416 for ; Thu, 7 Sep 2023 17:55:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B3D513858416 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-xe2d.google.com with SMTP id ada2fe7eead31-44d5f2d781aso60617137.0 for ; Thu, 07 Sep 2023 10:55:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694109306; x=1694714106; darn=cygwin.com; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=l6l/G8VDNEYG3DiFqcOdv3y7WiaERB9N5KhNGY1Aslw=; b=XuAgN64aRG27/wMVPvjGlAcA4fW+WgOsiRrlvDaMexwIL0YGWUHNWPXAhrMGHrMpG8 vGHsLt61pnQCclfTedyCb4TJgl+KoJIgt9VsnGymIFK58rf2sCiDFM1SDr33jqBvChR2 pF5luqSwKJcRH9FXQ+eJDP/ixBFW0TyzDSnCqFAri2BvXHkE78vFICSxrNp//ORneWoH yAUBhJA6pCkUfE2Xru352FNXUdQUY2jBjvX2iywO2GBJrfqrEfPCfB9xGtWYxvoILjhV c8lIRsrhN8Y2JP/Q0bktT+UKym7TLVO5MjZMUIFEq7ncygbRuQnYQIaZJGAgnPaNVr2W uDuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694109306; x=1694714106; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=l6l/G8VDNEYG3DiFqcOdv3y7WiaERB9N5KhNGY1Aslw=; b=RGRtYejR5IwKVtReW0Pm9s2uKf2poojdcXK76NQmN2+q36U8ZLpCfrlCVBnDnGgpmh 0kxW74+OpU40mQW7UtIYg49biJ3cGlbe1g7Sux/vudGGcXI0Pbm/0D1SxAqdKVwEB/fz gFNGgmWc0OENBibNM4dUadnGU6rYwYSu0bnpjo3PcXJzuQgfJ5PvjYETBnE2pqNvMex7 Zg+/zFxh15WKwdZDomRg6qvyaGU8LsjSbTuhXidWrCOBoi8ZysqC7uDXojquPWiPUDpx maYjx7XZ98gv62pLoNIS4BkfkGWrfJAdVAAqUcVD7YD1DZhwXGeK3FlB3Vuw3XwrPM4E +7Lw== X-Gm-Message-State: AOJu0Yzh9BxN8cLIrz/E09Er1dqHfGRML3cfeDnih8hKW7MJtyd6cxAk XvlGGXs8CN19oD0G2M6tBwmgWKHamLpS8hOHTDALFeoN5iE= X-Google-Smtp-Source: AGHT+IEX/uiqFZLy6vQR+7utiMtkGe1IvcPed/tZp43CTy0C/njLKMVFnlvVULfMdh6UWtQ5o9co1L+a4V7CXsmebr0= X-Received: by 2002:a05:6102:440d:b0:44d:3de6:1eb2 with SMTP id df13-20020a056102440d00b0044d3de61eb2mr450970vsb.2.1694109305813; Thu, 07 Sep 2023 10:55:05 -0700 (PDT) MIME-Version: 1.0 From: Marco Mason Date: Thu, 7 Sep 2023 13:54:53 -0400 Message-ID: Subject: [pkg cygwin-devel] /usr/include/sys/cpuset.h:52 error: missing return type To: cygwin@cygwin.com Content-Type: multipart/alternative; boundary="000000000000623fb90604c88f53" X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000623fb90604c88f53 Content-Type: text/plain; charset="UTF-8" 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. --000000000000623fb90604c88f53--