Skip to content

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Oct 4, 2016

This commit adds some glue code to support the C++ bindings and
updates the bindings to use the new glue code. This protects our
internal headers (which are C99) from C++. This is done as a quick
workaround to compilation errors when the legacy C++ bindings are
requested.

Fixes #2055

Signed-off-by: Nathan Hjelm hjelmn@lanl.gov
(cherry picked from commit c6464ca)

@jsquyres
Copy link
Member

@hjelmn Did this get the additional fixes from master that were put in after the fact?

hjelmn and others added 4 commits October 12, 2016 09:24
This commit adds some glue code to support the C++ bindings and
updates the bindings to use the new glue code. This protects our
internal headers (which are C99) from C++. This is done as a quick
workaround to compilation errors when the legacy C++ bindings are
requested.

Fixes open-mpi#2055

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
(cherry picked from commit c6464ca)
ISO C forbids mixing object pointer and function pointer

(cherry picked from commit b95e243)
and avoid #includ'ing stuff that breaks C++ compilers

(cherry picked from commit 974dd64)
@hjelmn hjelmn force-pushed the v2.0.x_cxx_isolation branch from 2c314f4 to a9e295f Compare October 12, 2016 15:24
Copy link
Member

@jsquyres jsquyres left a comment

Choose a reason for hiding this comment

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

Actually, with further discussion, @hjelmn is going to put in one more warnings-squash commit on master and this PR.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
(cherry picked from commit ab0a005)
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants