Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Modernize cmake scripts and support MSVC 2017#834

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
anonimal wants to merge6 commits intocpp-netlib:0.13-release
base:0.13-release
Choose a base branch
Loading
fromanonimal:0.13-release

Conversation

anonimal
Copy link

btolfaand others added6 commitsMarch 31, 2018 13:55
Visual Studio 2017 cannot decide if it is  boost::integral_constant<bool,true> boost::true_typeor  boost::spirit::true_typecpp-netlib@a5252b9
4a202d3 Work around ambiguous true_type (Tengiz Sharafiev)cbb10e6 Build: fix build with Boost 1.66.0 (Tengiz Sharafiev)2cb82ec Build: Clean up and modernize cmake scripts (Tengiz Sharafiev)
This option allows us to setup _WIN32_WINNT definition valuefrom cmake command lineDefault value is 0x0501 (_WIN32_WINNT_WINXP)https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt
48bbadb Build: Add cmake option CPP-NETLIB_WINAPI_VERSION (Tengiz Sharafiev)
Copy link
Member

@deanberrisdeanberris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I love the idea of modernising the CMake config -- I think we should be more proactive in doing this going forward. However, I do have concerns about the scope of these changes.

Can you please break it up into smaller parts, separating the code changes from the CMake config changes?

parse(partial_parsed.begin(), partial_parsed.end(),
(lit("HTTP/") >> ushort_ >> '.' >> ushort_), version_pair);
boost::spirit::qi::parse(partial_parsed.begin(), partial_parsed.end(),
(boost::spirit::qi::lit("HTTP/") >> boost::spirit::qi::ushort_ >> '.' >> boost::spirit::qi::ushort_), version_pair);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Please re-base, as I've just merged a change that addresses this particular issue.

*(+((boost::spirit::qi::alnum |boost::spirit::qi::punct) - ':') >>boost::spirit::qi::lit(": ") >>
as_u32_string()[+((boost::spirit::qi::unicode::alnum |boost::spirit::qi::space |boost::spirit::qi::punct) - '\r' - '\n')] >>
boost::spirit::qi::lit("\r\n")) >>
boost::spirit::qi::lit("\r\n"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Can you separate out this change, (or rebase) to its own pull request?

@@ -19,6 +19,7 @@
#include <boost/asio/detail/throw_error.hpp>
#include <boost/asio/error.hpp>
#include <boost/asio/stream_socket_service.hpp>
#include <boost/asio/io_service.hpp>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is this strictly necessary? If so, can you make this a self-contained PR?

@deanberris
Copy link
Member

Also, just to be clear, most of this already looks good to me -- I'm just a little concerned about the granularity of the changes. One of the failures in the travis CI suggests that there's one functional regression (in the tests for streaming get). It could be a transient error, so I'm re-running those to make sure it's not because of the changes in this PR.

@anonimal
Copy link
Author

ping@btolfa

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@deanberrisdeanberrisdeanberris requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@anonimal@deanberris@btolfa

[8]ページ先頭

©2009-2025 Movatter.jp