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
Attempting to use std::trunc() results in:
error: ‘trunc’ is not a member of ‘std’
According to the C++11 spec, it should be set in cmath. I tried defining _GLIBCXX_USE_C99_MATH_TR1 in config++.h, but that resulted in a heap of errors such as:
error: ‘::acoshl’ has not been declared
Acoshl and the others are missing from newlib (haven't checked clib2). They're part of the C99 spec.
The text was updated successfully, but these errors were encountered:
Generally, it would help a lot if for all known problems, a simple test source code is provided that can be added in the test folder, even if the problem looks simple.
from newlib's side everything about "not a member of std::" was fixed in the new beta of newlib 53.69 and adtools recompiled with new newlib's headers.
Attempting to use std::trunc() results in:
error: ‘trunc’ is not a member of ‘std’
According to the C++11 spec, it should be set in cmath. I tried defining _GLIBCXX_USE_C99_MATH_TR1 in config++.h, but that resulted in a heap of errors such as:
error: ‘::acoshl’ has not been declared
Acoshl and the others are missing from newlib (haven't checked clib2). They're part of the C99 spec.
The text was updated successfully, but these errors were encountered: