mcc_bsplines.h: use of FC_GLOBAL macro to correct call FITPACK

subroutines mangled names
fitpack/CMakeLists.txt: add non-empty SYMBOL_NAMESPACE to fix generated
'insert' macro (interference with STL containers 'insert' methods) macro
issue
various fixes
This commit is contained in:
2026-05-22 12:51:33 +03:00
parent 8e5e3631ba
commit 445a029a2f
4 changed files with 155 additions and 159 deletions

View File

@@ -21,8 +21,8 @@ include(FortranCInterface)
FortranCInterface_HEADER(
FortranCInterface.h
MACRO_NAMESPACE "FC_"
# SYMBOL_NAMESPACE "fp_"
SYMBOL_NAMESPACE ""
SYMBOL_NAMESPACE "FC_"
#SYMBOL_NAMESPACE ""
# SYMBOLS ${func_str}
SYMBOLS ${func_name}
)