delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/06/23/10:58:02

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 45NEw1dc1349621
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=yFPZxpXN
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 98327385DDFB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1719154680;
bh=z4XKv39oTyhVbpA5sRdK4/ZYox/Y+Jbs0ILxlAeulno=;
h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=yFPZxpXNxQYzh5I2/+wzXamtjwXxCSpeAGqFp4qpE1CjwaU7AhlyeJs2YOVljIG6E
5k191BycCK+PvK9wzNV7i5wdjv/YeYAq4HcLvhyLyNiaEgRVkuKwfPQZoY7kYOAFsn
z4E5DQVkRcHfOFdQwHnlDJJognGAITs0yyOK50dE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B3BF6385DDF1
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B3BF6385DDF1
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719154662; cv=none;
b=KLZgfLueToUfht9V9RvKG3DJO3gGeMYpIPrUB744KtPTwMwDJVAhIwASmY+ObrMhgWcNOlXn9mnQiy1StmP5Dn3cXjFKYoyTZgjXqsczNLGC8ZnhQ0/xwGkFSwZiT766g1wMmSL4PHGg7YqtvNAcURgD9Sx9Y4/ASDDGo2iU4jA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1719154662; c=relaxed/simple;
bh=9eRBSV7pa/CI52hV6V6rDR9QoIsEvfaQ0evcBHEmOgc=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
b=VJctf2TItYik0kA0o3F5hTZfKw2lscHzwAL8HkeThHY9iBG/BMA56VBP/9AiATo02sCSk3kbRhlF0hPp7gfV+6PT1qNAgVTPkBTniuA7U0W9OY6p7R/sLZEoXqz3rSnh621mFOhLgNkvLNCfP0UhXap5zGltfuSg2JpuSRjzDyI=
ARC-Authentication-Results: i=1; server2.sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: Issue regarding SFD_CLOEXEC. error: "''O_CLOEXEC' undeclared
here (not in a function); did you mean 'FD_CLOEXEC'?"
In-Reply-To: <VI1PR03MB28611404B6067E01666B69A8A6CE2@VI1PR03MB2861.eurprd03.prod.outlook.com>
(christianon's message of "Tue, 18 Jun 2024 15:07:12 +0000")
References: <VI1PR03MB28611404B6067E01666B69A8A6CE2 AT VI1PR03MB2861 DOT eurprd03 DOT prod DOT outlook DOT com>
Date: Sun, 23 Jun 2024 16:57:27 +0200
Message-ID: <874j9jn1uw.fsf@Gerda.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
X-purgate-type: clean
X-purgate: clean
X-purgate-size: 1457
X-purgate-ID: 155817::1719154655-A2FFBA47-5E174640/0/0
X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: ASSI via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ASSI <Stromeko AT nexgo DOT de>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 45NEw1dc1349621

christianon39--- via Cygwin writes:
> /usr/include/sys/signalfd.h:17:17: error: 'O_CLOEXEC' undeclared here (not in a function); did you mean 'FD_CLOEXEC'?
>    17 |   SFD_CLOEXEC = O_CLOEXEC,
>       |                              ^~~~~~~~~
>       |                              FD_CLOEXEC
> -----------
> Header "sys/signalfd.h" has symbol "SFD_CLOEXEC" : NO
>
> subprojects/wayland-1.20.0/meson.build:83:3: ERROR: Problem encountered: SFD_CLOEXEC is needed to compile Wayland libraries
>
>  Is there any solution for this? Or is it a bug that needs to be fixed?

The use of O_CLOEXEC in this file is not explicitly guarded by a feature
test macro, it is actually defined through sys/_default_fcntl.h, which
in turn only does this when __POSIX_VISIBLE >= 200809.  Since these are
system specific implementation headers there is a reasonable expectation
that you've set up the FTM correctly for the system you are working on
(which obviously wasn't the case during the compilation whose error you
have shown.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019