GNOME Bugzilla – Bug 697303
osxvideosink: compiler warning: implicit declaration of function 'pthread_self'
Last modified: 2013-04-05 08:37:59 UTC
Attempting to build against b79f667ef4766b3f22f698eb39a7f4339ff880f2 I get the following error: osxvideosink.m: In function '-[GstOSXVideoSinkObject nsAppThread]': osxvideosink.m:919: warning: implicit declaration of function 'pthread_self' osxvideosink.m:919: warning: nested extern declaration of 'pthread_self' osxvideosink.m:919: warning: assignment makes pointer from integer without a cast The attached patch includes pthread.h to fix the problem.
Created attachment 240682 [details] [review] proposed patch
Thanks for the patch, pushed: commit a30476497fe8f1a4f5ba69c98b921c249922e6bf Author: Todd Agulnick <todd@agulnick.com> Date: Fri Apr 5 09:34:23 2013 +0100 osxvideo: include pthread.h to fix compiler warning https://bugzilla.gnome.org/show_bug.cgi?id=697303 Would be great if you could create patches in "git format-patch" format in future, that makes it easier for us too apply :)