Closed FinbarArgus closed 1 year ago
The generator C profile generates this code
double * createStatesArray() { return malloc(STATE_COUNT*sizeof(double)); }
Which gives a error message:
error: invalid conversion from ‘void’ to ‘double’ [-fpermissive]
when using g++ compiler. The following change fixes this.
double * createStatesArray() { return (double *) malloc(STATE_COUNT*sizeof(double)); }
The generator C profile generates this code
Which gives a error message:
when using g++ compiler. The following change fixes this.