You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CMake test fails with strict diagnostic options for Intel compilers #193
Warnings are future bugs. PRIMA does not tolerate warnings, unless they are emitted due to compiler bugs or we are one thousand percent sure that they are irrelevant.
In our development and test, compilers and linters should be invoked with the most strict diagnostic/debugging options, e.g., -Wall -Wextra -Wpedantic -Werror or something similar. This also applies to other code such as C++ and Python.
changed the title [-]CMake test does not pass with strict diagnostic options for Intel compilers[/-][+]CMake test fails with strict diagnostic options for Intel compilers[/+]on Apr 22, 2024
Hi @zaikunzhang!
The issue is that you have some headers of C functions in prima.c.
They should in a *.h file.
I suppose that they are not in prima.h because you don't want to export them but we can create another header file.
Activity
[-]CMake test does not pass with strict diagnostic options for Intel compilers[/-][+]CMake test fails with strict diagnostic options for Intel compilers[/+]zaikunzhang commentedon Apr 24, 2024
Hi Alexis @amontoison,
Could you have a look at this? Thank you.
Best regards,
Zaikun
amontoison commentedon Apr 24, 2024
Hi @zaikunzhang!
The issue is that you have some headers of C functions in
prima.c.They should in a
*.hfile.I suppose that they are not in
prima.hbecause you don't want to export them but we can create another header file.More details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54817
zaikunzhang commentedon Apr 24, 2024
Thank you @amontoison . Could you propose the changes by a PR?
There are also other warnings/ errors of different nature.
Many thanks.