Skip to content

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Sep 7, 2016

This commit removes the #include of errhandler/errhandler.h (which
includes opal_object.h). The inlude was only needed to get the extern
declaration of ompi_mpi_errors_throw_exceptions. Since we have the
ompi_predefined_errhandler_t in mpi.h we can declare the extern in
mpicxx.c without needing the C errhandler header.

This should fix #2055

Signed-off-by: Nathan Hjelm [email protected]

This commit removes the #include of errhandler/errhandler.h (which
includes opal_object.h). The inlude was only needed to get the extern
declaration of ompi_mpi_errors_throw_exceptions. Since we have the
ompi_predefined_errhandler_t in mpi.h we can declare the extern in
mpicxx.c without needing the C errhandler header.

This should fix open-mpi#2055

Signed-off-by: Nathan Hjelm <[email protected]>
@hjelmn
Copy link
Member Author

hjelmn commented Sep 7, 2016

@jsquyres See any problem with this? There are probably other headers that cause problems but this is the problem in this instance.

@hjelmn hjelmn added this to the v2.0.2 milestone Sep 7, 2016
@hjelmn
Copy link
Member Author

hjelmn commented Sep 7, 2016

Hmm, this only fixes the one file. We will run into issues with comm.cc and file.cc. Going to think about this a little more.

@hjelmn hjelmn closed this Sep 7, 2016
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.

Compilation fails for powerpc with --enable-mpi-cxx

2 participants