Open qianxiansheng90 opened 6 years ago
Sorry, I can not reproduce th problem on CentOS 7 FLT_DIG is defined inn float.h and it is used in several Postgres files. May be there is some "dummy" float.h file in your include path when you are building IMCS extension?
CentOS7.1 PG10.3 ./install.sh error:
func.c: In function ‘imcs_cast_to_char_next’: func.c:1066:16: error: ‘FLT_DIG’ undeclared (first use in this function) ndig = FLT_DIG + extra_float_digits; ^ func.c:1066:16: note: each undeclared identifier is reported only once for each function it appears in