scivision / mumps

MUMPS via CMake
http://mumps-solver.org
MIT License
115 stars 46 forks source link

Implicit function declaration (invalid in C99) error on MacOS #6

Closed puneetmatharu closed 3 years ago

puneetmatharu commented 3 years ago

Hi, in the commit that you closed this issue with, you added a flag to scalapack_c_flags to remove the aforementioned warning. However, it only accounts for the case that the user is using a GNU compiler. It unfortunately does not address the issue I encountered on MacOS (for which the compiler is Clang). Could you please adjust the code in cmake/scalapack.cmake to account for this? Thank you.

Originally posted by @PuneetMatharu in https://github.com/scivision/mumps/issues/5#issuecomment-864165497