On Mon, 2006-05-29 at 23:55 +0100, Darren Salt wrote: > I demand that Tobias Grimm may or may not have written... > > > Klaus Schmidinger wrote: > >> [Ville Skytt? wrote:] > >>> thread.c: In member function 'bool cThread::Start()': > >>> thread.c:258: warning: null argument where non-null required (argument 3) > > That'd be the third parameter of pthread_setschedparam. Something like > __attribute__ ((nonnull (3))) > attached to the declaration of pthread_setschedparam would do it; I don't see > anything like that here, but perhaps there are some in glibc 2.4's > <pthread.h>? Yep, glibc 2.4 here, and __THROW __nonnull ((3)) in the above.