From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6229 invoked by alias); 5 Jan 2012 06:31:38 -0000 Received: (qmail 6219 invoked by uid 22791); 5 Jan 2012 06:31:36 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.amk-drives.bg (HELO amk-drives.bg) (213.91.234.2) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 05 Jan 2012 06:31:23 +0000 Received: (qmail 35345 invoked from network); 5 Jan 2012 08:34:56 +0200 Received: from unknown (HELO ?192.168.0.3?) (192.168.0.3) by 0 with SMTP; 5 Jan 2012 08:34:56 +0200 Message-ID: <4F0543B5.5010306@amk-drives.bg> Date: Thu, 05 Jan 2012 06:31:00 -0000 From: Daniel Lehne User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Khem Raj CC: crossgcc@sourceware.org Subject: Re: OSELAS.Toolchain-2011.03.0: PTHREAD_PRIO_INHERIT undeclared for arm-1136jfs-linux-gcc References: <4F043938.80908@amk-drives.bg> <20120104180655.GC32676@sakrah.homelinux.org> In-Reply-To: <20120104180655.GC32676@sakrah.homelinux.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00010.txt.bz2 On 04.1.2012 г. 20:06, Khem Raj wrote: > On (04/01/12 13:34), Daniel Lehne wrote: >> Hello, >> >> Why this protocol is only for __USE_UNIX98 allowed? Is there a >> solution to use this protocol PTHREAD_PRIO_INHERIT with gcc? > add #define _GNU_SOURCE > at the top of your source file. > > I've tried it already __GNU_SOURCE don't works because of _XOPEN_SOURCE = 600. I don't want to make changes in features.h. May i will set __USE_UNIX98 directly in source before the usage of phtread.h. Your answer shows me, this PTHREAD_PRIO_INHERIT should be available also for c source (gcc). Thanks! -- For unsubscribe information see http://sourceware.org/lists.html#faq