Re: vdr-1.4.0-2, g++ 4.1.1 compiler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux