#cmdline "-Wl -verbose"
#cinclude "./gmp.h"
#inclib "./gmp"
dim as __mpf_struct x
dim as zstring ptr s=callocate(1024)
__gmpf_init2(@x,512)
mpf_set_ui(@x,3)
mpf_sqrt(@x, @x)
gmp_snprintf(s,1000,"%50.40Fe",@x)
print ">>> ";*s
mpf_clear(@x)
deallocate(s)
Print "press return to quit";
Sleep
if I try to open test-c-include3.bas then I get a dialog: