Closed dmik closed 4 years ago
The relevant commit with workarounds that need to be undone once this is fixed is this one: https://github.com/bitwiseworks/qtdeclarative-os2/commit/e7a97582cd3174aaa5c8533df37fe86efdc5f740
Closing in favor of https://github.com/bitwiseworks/gcc-os2/issues/15.
Currently,
std::acosh
and friends are not part ofstd
because ourc++config.h
lacks_GLIBCXX_USE_C99_MATH_TR1
. Should be easily fixable but we also need to guard some imports (likelog2
,log2f
andtgammaf
) with #ifdef _GNU_SOURCE as they are not defined bymath.h
otherwise.As a temporary solution, one may simply omit the
std
namespace so that C versions will be dragged right from the global C namespace.