Code:
#include <pthread.h>
void *thread(void* o) {
return NULL;
}
void man(void)
{
pthread_create(NULL, NULL, &***thread, NULL);
}
It compiles without warnings with -Wall -Wextra -Wpedantic
. You can add more asterisks before thread, they don't have any effect. What was the reasoning between that? Why doesn't it give an error instead of being silent? Was this specified by C11?