delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/27/13:34:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 27 Mar 2010 14:34:47 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how was debate on _GNU_SOURCE resolved? can't find pthread_getattr_np
Message-ID: <20100327183447.GB13314@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <b0ddfae81003270823v2af60a63nf4678c33dc9ba0e7 AT mail DOT gmail DOT com> <20100327162944 DOT GA13314 AT ednor DOT casa DOT cgf DOT cx> <b0ddfae81003270938j6fdfd364w50b1bc9c8e63edb4 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <b0ddfae81003270938j6fdfd364w50b1bc9c8e63edb4@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sat, Mar 27, 2010 at 12:38:56PM -0400, mike marchywka wrote:
>>I must be missing the joke.
>
>no, you finally answered the question.  I didn't know they were non
>existent until I checked the headers.  Not being familiar with the
>issue I thought they might exist if I set the flag.

Function declarations which don't exist in any header file cannot show
up when you set a flag.

>>>Grepping through the pthread header however I don't see any indication
>>>the things the compiler is complaining about exist. It seems however
>>>the _GNU_SOURCE flag comes up in many headers in the include dir.
>>
>> You're conflating things here.  This has nothing to do with _GNU_SOURCE.
>> Defining _GNU_SOURCE isn't going to cause nonexistent functions to show
>> up.  The fact that you can't find the functions in a header file should
>> be a clue.  The functions simply don't exist on Cygwin.
>
>I could have missed something and maybe I just needed to install
>something new or dropped a package- they didn't have to be in a pthread
>header...  .  So I guess then the question is what replaces this or if
>you have a link to the issues here- why aren't these part of cygwin?

Why do you think?

cgf

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

- Raw text -


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