Alexander Steinhöfer
Alexander Steinhöfer
To make jsmn part of a shared Windows-DLL, jsmn's functions have to be marked `__declspec(dllexport)` / `__declscpec(dllimport)`. Functions marked as `extern` are - contrary to unix - not automatically exported....
MSVC build output (with `/W4` and `TreatWarningsAsErrors=Yes`) ``` 2>http_parser.c 2>c:\dev\...\http_parser\http_parser.c(2389,18): error C2220: warning treated as error - no 'object' file generated 2>c:\dev\...\http_parser\http_parser.c(2389,18): error C2220: const char* p; 2>c:\dev\...\http_parser\http_parser.c(2389,18): error C2220:...
Using Windows 10 and Python 3.7: ``` C:\Temp>pip3 install CodeIntel Collecting CodeIntel Using cached https://files.pythonhosted.org/packages/0a/24/141db0d6c64453e6848849979b9c527d3547ad1552674763000e9da2a648/CodeIntel-2.0.0.tar.gz Collecting 3to2 (from CodeIntel) Using cached https://files.pythonhosted.org/packages/8f/ab/58a363eca982c40e9ee5a7ca439e8ffc5243dde2ae660ba1ffdd4868026b/3to2-1.1.1.zip Collecting applib (from CodeIntel) Using cached https://files.pythonhosted.org/packages/d4/20/67c3c98b557cfa2aa95dc0a9281989e6ab740a5058ee1f8a5f8febba8aaf/applib-1.2.tar.gz Collecting...