X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35AD53858023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1694109322; bh=PuQqA5iC7vZllwwmFDLplxzeLxmCz3AFeG5aIVUOabo=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=K4LcJvPCqPZkswmiYaBSdbAzfYIC2cB9lrbkNsEeSQkiHH7SN0kCF8yvYaal0aPU6 hDI6R9bjdHBc0S8DYpUqeQZLm5RPLYrcLCSmjafLIPU5roTFfQtlMf5yYbdwrHqZ2I nUeja9o6js6sse91bURAa4mlCXQDDY9rmMJgr+4g= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B3D513858416 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 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 AT cygwin DOT com 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Mason via Cygwin Reply-To: Marco Mason Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple