Closed ljn917 closed 2 years ago
@serizba I only tested this on Linux (gcc), but many of these issues were reported on Windows related to building into a dll. I am not sure if there is a good way to test it.
Thanks @ljn917
I haven't tried on Windows, but I will merge anyway, as I don't think this PR may create additional problems. People from the related issues can comment if this fixed their errors.
This avoids the initialization order issues when people build cppflow into a library, e.g. a dll.
Should fix #132, #195, #163, #131, #190, #154