Dhondtguido / CalculiX

This repository contains the source files of CalculiX, a three-dimensional Finite Element Program (www.calculix.de).
GNU General Public License v2.0
75 stars 19 forks source link

-DLONGLONG and msys2/mingw #1

Closed 3rav closed 1 year ago

3rav commented 1 year ago

There is a conflict of the parameter name "LONGLONG" in the CalculiX.h file with the msys2/mingw environment files, this prevents the compilation of the i8 version. The solution is to change the name LONGLONG e.g. to INTSIZE64 (or another).

-#ifdef LONGLONG
+#ifdef INTSIZE64

https://calculix.discourse.group/t/calculix-i8-and-mingw/134/4?u=rafal.brzegowy

Dhondtguido commented 1 year ago

ok, thanks, Rafal!

Guido

On Thursday, September 29, 2022 8:34:16 AM CEST Rafal wrote:

There is a conflict of the parameter name "LONGLONG" in the CalculiX.h file with the msys2/mingw environment files, this prevents the compilation of the i8 version. The solution is to change the name LONGLONG e.g. to INTSIZE64 (or another).

-#ifdef LONGLONG
+#ifdef INTSIZE64

https://calculix.discourse.group/t/calculix-i8-and-mingw/134/4?u=rafal.brzeg owy