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

Compiler warnings Mac Ventura #770

Closed
anne-glerum opened this issue Dec 10, 2024 · 0 comments · Fixed by #774
Closed

Compiler warnings Mac Ventura #770

anne-glerum opened this issue Dec 10, 2024 · 0 comments · Fixed by #774

Comments

@anne-glerum
Copy link
Contributor

[ 12%] Building CXX object CMakeFiles/WorldBuilder.dir/Unity/unity_0_cxx.cxx.o
[ 12%] Building CXX object CMakeFiles/WorldBuilder.dir/source/world_builder/parameters.cc.o
In file included from /Applications/GWB/WorldBuilder/build/CMakeFiles/WorldBuilder.dir/Unity/unity_0_cxx.cxx:231:
/Applications/GWB/WorldBuilder/source/world_builder/utilities.cc:1198:46: warning: argument type 'int *' doesn't match specified 'MPI' type tag that requires 'unsigned int *' [-Wtype-safety]
const int ierr = MPI_Bcast(&invalid_file_size, 1, MPI_UNSIGNED, 0, comm);
^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
/Applications/GWB/WorldBuilder/source/world_builder/utilities.cc:1213:46: warning: argument type 'int *' doesn't match specified 'MPI' type tag that requires 'unsigned int *' [-Wtype-safety]
const int ierr = MPI_Bcast(&invalid_file_size, 1, MPI_UNSIGNED, 0, comm);
^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
/Applications/GWB/WorldBuilder/source/world_builder/utilities.cc:1225:36: warning: argument type 'int *' doesn't match specified 'MPI' type tag that requires 'unsigned int *' [-Wtype-safety]
int ierr = MPI_Bcast(&filesize, 1, MPI_UNSIGNED, 0, comm);
^~~~~~~~~ ~~~~~~~~~~~~
/Applications/GWB/WorldBuilder/source/world_builder/utilities.cc:1240:36: warning: argument type 'int *' doesn't match specified 'MPI' type tag that requires 'unsigned int *' [-Wtype-safety]
int ierr = MPI_Bcast(&filesize, 1, MPI_UNSIGNED, 0, comm);
^~~~~~~~~ ~~~~~~~~~~~~

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

Successfully merging a pull request may close this issue.

1 participant