From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49E4B9DA.7070802@domain.hid> Date: Tue, 14 Apr 2009 18:29:14 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <49E4B5CC.1050902@domain.hid> <49E4B8B1.5020907@domain.hid> In-Reply-To: <49E4B8B1.5020907@domain.hid> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] [PATCH] posix: Avoid double declarations List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai-core Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Please pull from git://git.xenomai.org/xenomai-jki.git for-upstream >> and run bootstrap. >> >> ----------> >> >> Recent glibc versions come with support for >> pthread_mutexattr_get/setprotocol and pthread_condattr_get/setclock. >> Make sure we don't declare those prototypes in Xenomai's pthread.h a >> second time as this can cause g++ warnings and even errors. > > You need to declare the __real variants too, as well as the wrappers. As they don't existed for all the other attr helpers, I skipped this. Guess more work is required here. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux