-
Notifications
You must be signed in to change notification settings - Fork 34
Port to windows #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Port to windows #31
Conversation
Many tests are failing still. Working on it.
|
@@ -31,7 +31,13 @@ struct case_insensitive | |||
} | |||
else if (left.size() == right.size()) | |||
{ | |||
#ifdef WIN32 | |||
# define strncasecmp(x, y, z) _strnicmp(x, y, z) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daedric what about introducing a utils header which includes this define or is it ok to have it multiple times all over the place?
The Ragel parser seems to be the problem. When using the stream parser, only 3 tests fail: For
And Will continue investigating later. At least the examples are working :) |
Hi @0x7f, Thanks a lot ! |
This patch makes httpp compile on Windows 10 with Visual Studio 2017 Community edition (VC 14.0).
The according commonpp patch can be found here daedric/commonpp#7. The same issue about static linking of TBB and HWLOC applies to this as well.