You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add missing names into libgmp.def. An obstacle is that C++ functions names are mangled with mangling rules dependent on a compiler version. An alternative is to patch sources and add __declspec(dllexport).
The text was updated successfully, but these errors were encountered:
Context
Some functions (mostly operator<<, and operator>>) are not included in libgmp.def and therefore are not exported by a dynamic library for Windows.
Expected Behavior
The code below should compile and link successfully against gmp built as a dynamic library.
Actual Behavior
The linker can't find some functions. E.g. operator<< defined in osmpq.cc.
Steps to Reproduce
Possible Fix
Add missing names into libgmp.def. An obstacle is that C++ functions names are mangled with mangling rules dependent on a compiler version. An alternative is to patch sources and add __declspec(dllexport).
The text was updated successfully, but these errors were encountered: