Closed Thomas-Ulrich closed 11 months ago
I ran into similar issues in the past when I use recent compilers. Why is Werror activated by default?
@Thomas-Ulrich Thank you for reporting this and providing all the details.
It looks like we are hitting this warning/error described here:
https://github.com/open-mpi/ompi/issues/5157
I tried, and failed, to reproduce this on my arch linux based system with GCC 11.2.0 and OpenMPI 4.1.2-1. I'm installing OpenMPI 4.1.0 now and will attempt a fix following what the other folks in that issue did. I'll keep you posted.
@krenzland Thank you for the feedback. Warnings and errors have been disabled by default with https://github.com/SCOREC/core/commit/1e604ecc4cbed9ff7bd562c78781d6fe9c039acc. This should appear in master
tomorrow morning.
Hi,
I'm trying to compile core with relatively recent compilers, and get errors due to
cast between incompatible function types
. These errors can be bypassed by removing Werror from the FLAGS (but I suppose you want to fix the warning rather than fix the flag).My compilers:
Some environments variables for compiling:
The compiling process and the errors:
Thanks in advance, Thomas Ulrich.