The C++ made me change all my calloc statements including.
now my pthread_create call
is wrong. The error says Overloaded function with no contextual type information.
help
thanks.
Code:
from
readyspline = calloc(waves, sizeof (struct formag*));
for ( i =0; i < waves; i++)
readyspline[i] = calloc(1, sizeof (struct formag));
to
readyspline = (formag **)calloc(waves, sizeof (struct formag*));
for ( i =0; i < waves; i++)
readyspline[i] = (formag*)calloc(1, sizeof (struct formag));
now my pthread_create call
Code:
pthread_create(&qthread[slice], NULL, (void*)rotate, (void *)readyspline[slice]);
is wrong. The error says Overloaded function with no contextual type information.
help
thanks.