Oh, I forgot to mention that I'm running current and I have this error few
days ago too.

man/pthread_once.3 says that this is ok but looks like something is missing
from headers.

-Matti

2014-09-19 1:33 GMT+03:00 Matti Karnaattu <mkarnaa...@gmail.com>:

> This doesn't compile:
>
> #include <pthread.h>
>
> pthread_once_t once_control;
>
> int
> main()
> {
>         pthread_t new_thread;
>         once_control = PTHREAD_ONCE_INIT;
>         return 1;
> }
>

Reply via email to