error: expected identifier or ‘(’ before ‘do’
       95 | #define GSL_SET_COMPLEX(zp,x,y) do {(zp)->dat[0]=(x);
   (zp)->dat[1]=(y);} while(0)

   here is the piece of code where i was trying to use the library.

            gsl_complex z;
            gsl_complex GSL_SET_COMPLEX(&z,5.7,8.0);

            printf("output %f",gsl_complex_arg(z));

   Thank you

Reply via email to