X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=pCFeV2CmbtC944GY OQ1xI7xjaRYQDSxwQdvmjREmdNXLIemaFwpJaWr02dgNK7ixNxwZoSllBL3xvPvn V/Vx5NiMV1pRJNnHov8xfKCHQMRpibUTQWiSSHqGTmOPfunxyepkcdtmNCj9PfEO 12V0y4qQUtCvEiBPdYGXDMDhDQg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Pgw1+owChZ/x1u+TAAOUIo 6up4w=; b=X6R0ZwFfLwn/m0X8j7KoFf9k58ZBrqAvyu/tkvHwYG/HcM/nV8WKpi izdjTuQ/SIQmfTErl3sOwqMgnTfmJBt8onimkFxhLi5CgfOf/5d1HpcukUHtHtk0 8a3x71dXf+bGZPm+meBnu0bTAxuFRRNnrd80oyNPyHdU68lHm2Se4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Walton, walton, pthread_attr_t=e2, noloader AT gmail DOT com?= X-HELO: mail-wm0-f49.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ASPVwhX6X8IOujks1Dwph60kVg64TwgzgMRlMU9KCnM=; b=LL8gX7LLHRmxMoftdqC9fdZtrjebnFwHVBbi/8ncXBcAviKPqvp+7V5/dC3WR2TYFN WEB8PjdmrsgJyDGIRuJfopgsc7zCgMldE/nNlOZHc/mgjJ8+e99fH8vC6AlPgCoXiqIv 1WqBnipXU0dGzZS7hD8Ls08k5Swq4nRAy91wg2kPL1Q5LU+iICIBv4MkM8kpTPqjHs3L BEWE3pk5hnI9f5KxSSgk3IaVbFwasjF3t2bfE9ggioK2gZBtgkROAqUT+ZRHPatf7N9r e3wgDh8fNbwEoIQ5bI10E887KQ5GF9k6k5J27m05c0pKssxnCrWMNdABqC4qPOotA/bZ pEPg== X-Gm-Message-State: AMCzsaW4Nu3vJgdYr6fb+pahJdY4Yub9CUrrSFxHsfYJnQEiZamC59wV X/OUIpz25LZHerx840TJjMuSUg== X-Google-Smtp-Source: AOwi7QBq6B10su77yJhBVWTJiOYnlJm2bo9Y8UiP11tz6NZCYCMqZP/Cs0CD5SPxLV2Vb+cTAsNALA== X-Received: by 10.80.158.207 with SMTP id a73mr11522823edf.90.1508144145280; Mon, 16 Oct 2017 01:55:45 -0700 (PDT) Subject: =?UTF-8?Q?Re:_Error:_unknown_type_name_=e2=80=98pthread=5fattr=5ft?= =?UTF-8?B?4oCZIGluIHNpZ25hbC5o?= To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: <590379dd-cffa-0b32-4d77-b043ddfe1457@gmail.com> Date: Mon, 16 Oct 2017 10:55:36 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 16/10/2017 10:39, Jeffrey Walton wrote: > On Mon, Oct 16, 2017 at 3:12 AM, Jeffrey Walton wrote: >> Hi Everyone, >> > > I think something is borked with the Cygwin headers. If I am parsing > http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html > and https://cygwin.com/ml/cygwin/2006-01/msg00642.html correctly, it > should be sufficient to define _XOPEN_SOURCE to 600. From the section > "The _XOPEN_SOURCE Feature Test Macro": > > Since this volume of IEEE Std 1003.1-2001 is aligned with the ISO C > standard, and since all functionality enabled by _POSIX_C_SOURCE set > equal to 200112L is enabled by _XOPEN_SOURCE set equal to 600, there > should be no need to define _POSIX_C_SOURCE if _XOPEN_SOURCE is so > defined. Therefore, if _XOPEN_SOURCE is set equal to 600 and > _POSIX_C_SOURCE is set equal to 200112L, the behavior is the same as > if only _XOPEN_SOURCE is defined and set equal to 600... > > > I would still appreciate some help in working around the compile failures. > > Jeff > hi Jeff, see /usr/include/sys/features.h for explanation of the current behaviour and options -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple