Segmentation fault calling fortran function from c

FX Coudert fxcoudert@gmail.com
Wed Jul 4 14:40:00 GMT 2007


>         b = intgerigonder_(a);

Fortran passes variables by reference, thus you need to change that  
line into "b = intgerigonder_(&a);"

FX



More information about the Fortran mailing list