Yes, I found this:
[openxs@chief percona-5.5]$ grep -rn 'rint(x)' /opt/sun/* /opt/sun/sunstudio12.1/prod/include/cc/tgmath.h:96:#define llrint(x) __tgmath_llrint(x) /opt/sun/sunstudio12.1/prod/include/cc/tgmath.h:108:#define lrint(x) __tgmath_lrint(x) /opt/sun/sunstudio12.1/prod/include/cc/tgmath.h:122:#define rint(x) __tgmath_rint(x)
But it does not explain where extern comes from and I do not see error about it. Now I see that my compiler version may be different, so still something to check and study.
Yes, I found this:
[openxs@chief percona-5.5]$ grep -rn 'rint(x)' /opt/sun/* sunstudio12. 1/prod/ include/ cc/tgmath. h:96:#define llrint(x) __tgmath_llrint(x) sunstudio12. 1/prod/ include/ cc/tgmath. h:108:# define lrint(x) __tgmath_lrint(x) sunstudio12. 1/prod/ include/ cc/tgmath. h:122:# define rint(x) __tgmath_rint(x)
/opt/sun/
/opt/sun/
/opt/sun/
But it does not explain where extern comes from and I do not see error about it. Now I see that my compiler version may be different, so still something to check and study.