?
=?ISO-8859-1?Q?Andreas_M=FCller?=
my problem is probably simple to fix but I don't now how,
i have a thread function
void *display(struct Camera *camera)
and i try to create that thread via
pthread_create(&draw_thread, NULL, display, &camera);
when I compile with gcc it works,
using g++ there is an error:
invalid conversion from `void*(*)(Camera*)' to ` void*(*)(void*)'
where is the problem?
i have a thread function
void *display(struct Camera *camera)
and i try to create that thread via
pthread_create(&draw_thread, NULL, display, &camera);
when I compile with gcc it works,
using g++ there is an error:
invalid conversion from `void*(*)(Camera*)' to ` void*(*)(void*)'
where is the problem?