DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 61823d6Y066549 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 61823d6Y066549 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Nmd7nHHO X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3D9748EEBD8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1770516218; bh=BXT76zmT/eOmgaXIAMpg44Y4R2fWQXUGjFQ7z5mhvd0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Nmd7nHHOD8+xtBYRDP1qgaicxoMmIUiPHRjU4cpdb3jO4Ev0M3X+0LaiKfRj8q8xt Fv87T4uT2cmvOuUs9sujecfRPOT/eoW0nHsYHvUGBBEVirBzem3BLZlUz8Lo3CTeM+ LKpeIrjCzbT0oIvFPMUezAOiQ9Mj+pMmWdtsxVL8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A430148F3427 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A430148F3427 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770516170; cv=none; b=mrkPsLSf48qFjQT+rmAUAh3/2t0/77wcirP6aRVwvTb/f7vWgLTi4iB1F8Lry1uzGAl7ZiOOwZ68rn+J9hLAuYha54amR1YHfFD4Z7xKuAjAeA3tnUHPAaU5BNhE2KiUmjkvGNNCRVq4oCGapjV0kyCRhCUuKyeMW0c68b5Jixg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770516170; c=relaxed/simple; bh=NBWF9TGDq33rpFQHN1E1D9wTkKEuKy02TZM+xHIPr0w=; h=DKIM-Signature:Message-Id:From:To:Subject:Date:MIME-Version; b=PJiktfT/J8didvUA/k/DxDcaT64KHRyBgdwhFU5bcto4fnBSPaFQIBU+NsqZoNbZnc+l8+0PGIjbVZopA43l2YvYvFYdIkXZx3aZGRbJUycyvE/PS2mMygqxtduX9/EfyOPG/DOEDYSku23vL4xP3RH92qJ1xx0KtybAtYY/Ql4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A430148F3427 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770516170; x=1771120970; h=mime-version:content-transfer-encoding:user-agent:date:subject:to :from:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=M8jtktLF4+DFozcv+NjimDqaTdIIbMsYxm1x7xxvQtc=; b=Fvav9aFlKDpOuw92S3v28ZH13D/aEaXf7jUzKjZm9526OBW6yPbPFFXt1T014KW6J3 v1M4t3GhKgQP96nnZNOLqk94OjfHqCts7jhJvzzFaG6nf4IPkkeNTyQmSWuDrym3rG08 WT/ktN2wSMpW+mU5p7tgWOJ/IiqACLutvCjYunk8/wDNTy5Oj7V8JVPvTW+39oQid4xt qF3OGxYp1B3zekniSy4zaCTVd5MRrrRpAKRhvgim7+nsiEeUzCauA7a7q1r0f7fer1w4 n7LCVLXDbOVleE9JpT5W6NfI86lK5ogyGqmyQJ07DYYZdR5/nir3/YD/nJfORZ8RoZAV YnRQ== X-Gm-Message-State: AOJu0YxmOJ9+4JTzGybaDPe9ZoZQ1cxT2UNzbpDRL9YVZLaXpS/NS72D AQrI55XLW6rycTBjx6O/BXuP6cxhfzEW9vn7K+k0+CbiloFE+/xiJUbv1aaq/A== X-Gm-Gg: AZuq6aKPMKpPKaxct1zM2ymsCenOisnlTduq27/aYHM/utU3t28wRnuiqugie/L42tN aOqo+2Q0y09Gh0rnZoISrl93GERaeL3uBBn7kxmXTpc5psxVYj0g13hV9D5Ka6wF57mzSp9u1x0 C5SjihrBUilJbfECLAWQnbiIcKEWdgfTWLyE+EynHCGbxdmO0tOHMZAOch1yHA/dgk2toorOfBk ZVHWEkWlP1OTcMv4YLsdHNq9SmzT6SMimYwP01BTKuvaWtwQG4SpZHGB8uIcLa7Wy++v/z+kCch wTNuauFLMt/qFKN042P63Tch1xMqEVx8NT5juVM6ryxM5gFuqZsr1KOKYE9R6jd/oE0z/VkC80q CXwDnTiym2XTgCNMwVSDFAGqyoOWNiDrV6YljkKIgI+mctcihhxOyAAC83qtaQMXFWMO1FagzHT dX5d35u/qGSsBRUdzgGjgETR0Q X-Received: by 2002:a05:6a00:1811:b0:823:5745:cfd8 with SMTP id d2e1a72fcca58-82440de8e19mr7339715b3a.32.1770516169582; Sat, 07 Feb 2026 18:02:49 -0800 (PST) Message-Id: <1770515074285.3371994028.3268673411@ezweb.ne.jp> To: cygwin AT cygwin DOT com Subject: /usr/include/stdatomic.h is not self-contained Date: Sun, 08 Feb 2026 02:02:48 +0000 X-Mailer: Vivaldi Mail User-Agent: Vivaldi Mail/7.8.3925.62 MIME-Version: 1.0 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: kikairoya via Cygwin Reply-To: kikairoya Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" Hello, I noticed that /usr/include/stdatomic.h is not self-contained due to lack of including . $ echo '#include "/usr/include/stdatomic.h"' | gcc -xc - -fsyntax-only In file included from :1: /usr/include/stdatomic.h:207:17: error: unknown type name 'int_least8_t' 207 | typedef _Atomic(int_least8_t) atomic_int_least8_t; | ^~~~~~~~~~~~ /usr/include/stdatomic.h:208:17: error: unknown type name 'uint_least8_t' 208 | typedef _Atomic(uint_least8_t) atomic_uint_least8_t; | ^~~~~~~~~~~~~ (snip) $ echo '#include "/usr/include/stdatomic.h"' | gcc -xc - -fsyntax-only -include stdint.h It's normally unaffected since gcc uses its own . $ echo '#include ' | gcc -xc - -fsyntax-only $ echo '#include ' | gcc -xc - -fsyntax-only -H . /usr/lib/gcc/x86_64-pc-cygwin/13/include/stdatomic.h However, clang delegates to system provided if available, so including before other headers causes syntax errors. $ echo '#include ' | clang -xc - -fsyntax-only In file included from :1: In file included from /usr/lib/clang/21/include/stdatomic.h:24: /usr/include/stdatomic.h:207:17: error: unknown type name 'int_least8_t'; did you mean '__int_least8_t'? 207 | typedef _Atomic(int_least8_t) atomic_int_least8_t; | ^ /usr/include/machine/_default_types.h:134:29: note: '__int_least8_t' declared here 134 | typedef __INT_LEAST8_TYPE__ __int_least8_t; | ^ (snip) $ echo '#include ' | clang -xc - -fsyntax-only -H . /usr/lib/clang/21/include/stdatomic.h .. /usr/include/stdatomic.h (snip) $ echo '#include ' | clang -xc - -fsyntax-only -include stdint.h Could it be fixed to make /usr/include/stdatomic.h self-contained? -- Tomohiro Kashiwada (@kikairoya) -- 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