Skip to content
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

Non-standard, unusable code generated for MSMPI_NO_SAL #37

Open
olesenm opened this issue Apr 6, 2020 · 0 comments
Open

Non-standard, unusable code generated for MSMPI_NO_SAL #37

olesenm opened this issue Apr 6, 2020 · 0 comments

Comments

@olesenm
Copy link

olesenm commented Apr 6, 2020

Cross-compiling with mingw used to work, but fails with a newer mingw

x86_64-w64-mingw32-gcc (SUSE Linux) 9.2.0

The failure messages report this:

/path/msmpi/include/mpi.h:514:1: error: expected '=', ',', ';', 'asm' or
 '__attribute__' before 'MPI_Send'
 MPI_Send(
 ^~~~~~~~

This traces back to many, many attribute expansions that appear to be specific to the microsoft compiler. Older versions of Gcc silently ignored these attributes, but they are now flagged as errors.

What is the best fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant