From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 76DEE3858D39 for ; Mon, 27 Feb 2023 15:45:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 76DEE3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id A76CD219ED; Mon, 27 Feb 2023 15:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1677512714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CV9yF7eK4ZeseKfwGBRaA+Y6lzdCpsDbJYkBrQAXecs=; b=W0EZeS1Ocufu+WM1Qk0EWnB9aNIfVj/EwPvTUkuXI5jwAueSpEv/M7LJ86NB9MP1WotEIP X6i/imoswEPTWRFkXvEjCBGep9jTt6bssElFLFsF6jSS4SBqf/E1UTeUfZxelOIRUlim08 AXhA74xiFg589zGpSGDAVJKXFt8H6CQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1677512714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CV9yF7eK4ZeseKfwGBRaA+Y6lzdCpsDbJYkBrQAXecs=; b=VePqma6n9HQa1PEC480MqTi+kK3DoCGz4owgOk0atzBYNU8QyBHtUfQw75I5lOPA7g0pjz u7iVpDGwZd35gNCg== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 92BC22C141; Mon, 27 Feb 2023 15:45:14 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 4AC57442EFF; Mon, 27 Feb 2023 16:45:14 +0100 (CET) From: Andreas Schwab To: =?utf-8?B?5a6L5Yas55Sf?= via Gcc-patches Cc: =?utf-8?B?5a6L5Yas55Sf?= , Arnaud Charlet , Eric Botcazou , Marc =?utf-8?Q?Poulhi=C3=A8s?= Subject: Re: [ada] fix unknown type name 'cpu_set_t' References: X-Yow: I know how to do SPECIAL EFFECTS!! Date: Mon, 27 Feb 2023 16:45:14 +0100 In-Reply-To: (=?utf-8?B?IuWui+WGrOeUnw==?= via Gcc-patches"'s message of "Mon, 27 Feb 2023 23:15:05 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,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: On Feb 27 2023, 宋冬生 via Gcc-patches wrote: > diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h > index 987432c93..fa8ddaf13 100644 > --- a/gcc/ada/adaint.h > +++ b/gcc/ada/adaint.h > @@ -319,6 +319,9 @@ extern void *__gnat_lwp_self (void); > > /* Routines for interface to required CPU set primitives */ > > +#ifndef _GNU_SOURCE > +#define _GNU_SOURCE > +#endif > #include > > extern cpu_set_t *__gnat_cpu_alloc (size_t); Feature test macros must always be defined before any system header is included. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."