Commit ade0422
committed
CMake: fix -Wint-conversion warning (error if clang is used as MPIC_C)
Using of single quotes for printf argument within MPI_C check
of CMakeLists.txt results in warning of conversion to int.
The single quotes is used for char/int but not for char* type
where the double quotes should be used.
If clang is used as MPI_C instead of gcc the configuration is failed
with error:
incompatible integer to pointer conversion passing 'int'
to parameter of type 'const char *' [-Wint-conversion]
(refer Gentoo [guru overlay] issue: https://bugs.gentoo.org/888009)
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>1 parent d8f4657 commit ade0422
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| |||
0 commit comments