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
I get an error when using Intel compilers on macOS. It's related to handle_strerror_r. It attempts to pass a type int to char *. So, I think the first #ifdef _GNU_SOURCE is being used which accepts a char *, but should be using the second function definition with #elif (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || _POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 600) which does take an int.
Maybe a preprocessor check like __INTEL_COMPILER and APPLE? I guess _GNU_SOURCE is defined but Intel by the function template doesn't match.
I get an error when using Intel compilers on macOS. It's related to
handle_strerror_r
. It attempts to pass a typeint
tochar *
. So, I think the first#ifdef _GNU_SOURCE
is being used which accepts achar *
, but should be using the second function definition with#elif (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || _POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 600)
which does take anint
.Maybe a preprocessor check like
__INTEL_COMPILER
andAPPLE
? I guess_GNU_SOURCE
is defined but Intel by the function template doesn't match.Using Intel 2021.4.0 compilers, and macOS 11.6.5
eckit/src/eckit/log/Log.cc
Lines 36 to 65 in 9b8fc27
The text was updated successfully, but these errors were encountered: