-
Notifications
You must be signed in to change notification settings - Fork 121
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
default_launcher.h: incorrect declaration of environ for macOS #453
Comments
Is this correct 100% of the time? Or should I just skip the forward decl and include the appropriate header? |
Thank you for responding. If you mean for macOS, then
works for all versions, as of now at least. (While generic declaration works for some versions of macOS, but not for all.) |
@klemens-morgenstern Turned out, it needs a fix, since linking fails otherwise:
|
Empirically, what worked for me was:
With this, boost 1.87 finally compiles. |
Could we please fix this as well?
process/include/boost/process/v2/posix/default_launcher.hpp
Lines 34 to 36 in a2d2753
macOS should use a different declaration for
environ
. Usually the correct code looks like this:The text was updated successfully, but these errors were encountered: