VecTcl
VecTcl copied to clipboard
make it compile under the latest mingw64 environment
- Problem: The parameter name select in functions dgees_ and zgees_ conflicted with the Windows select() system call
- Fix: Renamed the parameter from select to select_fn in:
- Function declarations in clapack_cutdown.h:19-20
- Function definitions in clapack_cutdown.c:8518,8870
- All usages in clapack_cutdown.c:8720,8832,9065
- Old K&R style function pointer type
- Problem: The L_fp typedef used old K&R style () which modern gcc treats as "zero parameters"
- Fix: Added explicit casts when calling the function pointer:
- clapack_cutdown.c:8720: Cast to (logical ()(doublereal, doublereal*))
- clapack_cutdown.c:8832: Cast to (logical ()(doublereal, doublereal*))
- clapack_cutdown.c:9065: Cast to (logical ()(doublecomplex))