This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OSELAS.Toolchain-2011.03.0: PTHREAD_PRIO_INHERIT undeclared for arm-1136jfs-linux-gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]