-
Notifications
You must be signed in to change notification settings - Fork 141
Drone #250
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
Drone #250
Conversation
…to 'this'. Issue # 219
…_fix Fixed file_descriptor move assignment operator returns a reference to this.
Master update
Fix missing headers
explicit cast to int to silence this: `error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'int' in initializer list [-Wc++11-narrowing]`
Update executor.hpp
| cmake_minimum_required(VERSION 3.5...3.16) | ||
|
|
||
| project(boost_process VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) | ||
| find_package(Boost REQUIRED iostreams program_options filesystem system thread) |
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.
This breaks the superproject build on which you basically rely by using BOOST_SUPERPROJECT_VERSION
That in turn also breaks dependent libraries
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.
Confirmed. The Boost CMake build is broken now, as a result of this change. Please fix.
| while (*p != nullptr) | ||
| { | ||
| if (std::equal(st1.begin(), st1.end(), *p)) | ||
| const int len = std::char_traits<Char>::length(*p); |
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.
Can we use iterator::difference_type here something like const auto len = static_cast<iterator::difference_type>(std::char_traits<Char>::length(*p))?
This causes an warning with Visual C++:
C:\Miniconda37-x64\envs\arrow\Library\include\boost/process/environment.hpp(266): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Miniconda37-x64\envs\arrow\Library\include\boost/process/environment.hpp(266): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
| while (*p != nullptr) | ||
| { | ||
| if (std::equal(st1.begin(), st1.end(), *p)) | ||
| const int len = std::char_traits<Char>::length(*p); |
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.
Ditto.
| while (*p != nullptr) | ||
| { | ||
| if (std::equal(st1.begin(), st1.end(), *p)) | ||
| const int len = std::char_traits<Char>::length(*p); |
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.
Ditto.
No description provided.