As vlang/v#24272 , it need to fix math.h in tccbin.
I checked openlibm, there is no function's name __fpclassify(), but __fpclassifyd() for double.
So it need to patch include\math.h, replace __fpclassify with __fpclassifyd.
openlibm$ find . -type f | xargs grep __fpclassify
./include/openlibm_math.h: ((sizeof (x) == sizeof (float)) ? __fpclassifyf(x) \
./include/openlibm_math.h: : (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \
./include/openlibm_math.h: : __fpclassifyl(x))
./include/openlibm_math.h:OLM_DLLEXPORT int __fpclassifyd(double) __pure2;
./include/openlibm_math.h:OLM_DLLEXPORT int __fpclassifyf(float) __pure2;
./include/openlibm_math.h:OLM_DLLEXPORT int __fpclassifyl(long double) __pure2;
./src/s_fpclassify.c:__fpclassifyd(double d)
./src/s_fpclassify.c:__fpclassifyf(float f)
./src/s_fpclassify.c:__fpclassifyl(long double e)
As vlang/v#24272 , it need to fix
math.hin tccbin.I checked
openlibm, there is no function's name__fpclassify(), but__fpclassifyd()fordouble.So it need to patch
include\math.h, replace__fpclassifywith__fpclassifyd.