CalculiX.c and CalculiXstep.c have this code at the top which I can't get to compile for Windows:
ifdef __WIN32
_set_output_format(_TWO_DIGIT_EXPONENT);
endif
It looks like a function call outside a function body, or maybe _set_output_format is defined only in MS header files? I just remove it and it works fine. I wonder if this could be removed entirely? The MS standard library used to have that 2-digit-exponent problem which broke the output format of CCX but I don't think it does anymore.
CalculiX.c and CalculiXstep.c have this code at the top which I can't get to compile for Windows:
ifdef __WIN32
_set_output_format(_TWO_DIGIT_EXPONENT);
endif
It looks like a function call outside a function body, or maybe _set_output_format is defined only in MS header files? I just remove it and it works fine. I wonder if this could be removed entirely? The MS standard library used to have that 2-digit-exponent problem which broke the output format of CCX but I don't think it does anymore.