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

Avoid compiler warnings about implicit function declarations. #488

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

mmuetzel
Copy link
Contributor

@mmuetzel mmuetzel commented Jul 13, 2024

Include header that declares functions from the UMFPACK library before using them. Add path to that header to the preprocessor flags.
Also keep similar order of linker flags independent of whether the bundled or an external UMFPACK library is used.

This warning is elevated to an error in LLVM Clang 18 (with default compiler flags). This also errors for GCC 14.

Include header that declares functions from the UMFPACK library before
using them. Add path to that header to the preprocessor flags.
Also keep similar order of linker flags independent of whether the
bundled or an external UMFPACK library is used.

This warning is elevated to an error in LLVM Clang 18 (with default
compiler flags).
@mmuetzel
Copy link
Contributor Author

Didn't see the open issue before submitting this PR. But I guess this would solve #471.

@tzwinger tzwinger merged commit 99abe68 into ElmerCSC:devel Jul 15, 2024
1 check passed
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 this pull request may close these issues.

2 participants