eth-cscs / DLA-Future

DLA-Future
https://eth-cscs.github.io/DLA-Future/master/
BSD 3-Clause "New" or "Revised" License
64 stars 14 forks source link

Fix warning about strict prototypes in precompiled headers `dummy.c` #1110

Closed msimberg closed 6 months ago

msimberg commented 7 months ago

clang starting with version 15 warns about C functions that don't declare their arguments (with -Wstrict-prototypes, see https://godbolt.org/z/YbjY14d74). Explicitly specifying that dummy takes no arguments with void silences the warning.

msimberg commented 7 months ago

cscs-ci run