Skip to content

Commit f521b5f

Browse files
authored
Merge pull request #777 from band-a-prend/cmake_mpi_c
CMake: fix -Wint-conversion warning (error if clang is used as MPIC_C)
2 parents df27aa6 + ade0422 commit f521b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ int main(int argc, char** argv) {
426426
char processor_name[MPI_MAX_PROCESSOR_NAME];
427427
int name_len;
428428
MPI_Get_processor_name(processor_name, &name_len);
429-
printf('Hello world from processor %s, rank %d out of %d processors',
429+
printf(\"Hello world from processor %s, rank %d out of %d processors\",
430430
processor_name, world_rank, world_size);
431431
MPI_Finalize();
432432
}"

0 commit comments

Comments
 (0)