thread.c: In function ‘main’: thread.c:38:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 后来google了,受这个问题解决的启发http://stackoverflow.com/questions/9251102/warning-cast-to-pointer-from-integer-of-different-size-wint-to-pointer-cast,找到了解决...
1.c:Infunction‘mult’:1.c:12:17: warning: casttopointerfromintegerofdifferent size [-Wint-to-pointer-cast]12| pthread_exit((void *)res); Any insights would be highly appreciated. pthread_exit((void *)res); to pthread_exit((void *)&res);...