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

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

 



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>?

> I'm not sure if there is any connection to this, but valgrind complains:

> ==6486== Syscall param write(buf) points to uninitialised byte(s)
> ==6486==    at 0x1B93FA3B: write (in /usr/lib/debug/libpthread-0.10.so)
> ==6486==    by 0x1B93BC6A: pthread_create@@GLIBC_2.1 (pthread.c:817)
> ==6486==    by 0x8135CC9: cThread::Start() (thread.c:256)
[snip]
> Unfortunately I couldn't figure out yet what's going on there, so I just
> ignored it and added it to the suppression file. It might simply be a
> problem with valgrind.

Either that or it's a glibc bug.

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Burn less waste. Use less packaging. Waste less.     USE FEWER RESOURCES.

Plagiarism saves thought.


[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