passing argument 3 of ‘pthread_create’ from incompatible pointer type
/usr/include/pthread.h:225: note: expected ‘void * (*)(void *)’ but argument is of type ‘void (*)(void *)’
워닝인거같은데 해결법좀 ㅠㅠ
passing argument 3 of ‘pthread_create’ from incompatible pointer type
/usr/include/pthread.h:225: note: expected ‘void * (*)(void *)’ but argument is of type ‘void (*)(void *)’
반환값이 없는 함수를 콜백으로 주는게 맞는데 님이 준게 void*를 반환하나봄
위에 한 말 반대로
아니 void* 를 리턴해야 하는데 void 리턴형 함수를 인자로 넘겼단거지
ㅇㅇ
고맙습니다 형님들 ㅠㅠ