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
Warning at posix-mock-test, you need to add __THROW for Elbrus.
[ 19%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o
lcc: "fmt-master/test/posix-mock-test.cc", line 506: warning #541:
allowing all exceptions is incompatible with previous function
"freelocale" (declared at line 180 of "/usr/include/locale.h")
FreeLocaleResult freelocale(locale_type locale) FMT_LOCALE_THROW {
lcc: "fmt-master/test/posix-mock-test.cc", line 512: warning #541:
allowing all exceptions is incompatible with previous function
"strtod_l" (declared at line 295 of "/usr/include/stdlib.h")
locale_type locale) FMT_LOCALE_THROW {
This works for me to suppress this warning (you might do it differently):
test/posix-mock-test.cc
-# if defined(__THROW) && FMT_GCC_VERSION > 0 && FMT_GCC_VERSION <= 408+# if defined(__THROW) && ((FMT_GCC_VERSION > 0 && FMT_GCC_VERSION <= 408) || defined (__e2k__))
The Elbrus compiler declares GNUC version as 7.3.0.
The text was updated successfully, but these errors were encountered:
Warning at posix-mock-test, you need to add __THROW for Elbrus.
This works for me to suppress this warning (you might do it differently):
test/posix-mock-test.cc
The Elbrus compiler declares GNUC version as 7.3.0.
The text was updated successfully, but these errors were encountered: