Open afxgroup opened 4 years ago
Try transforming the macro into an inline.
Is anyone was able to deal with ? I currently hit the same issue.
The fastest solution i've found is to add using namespace std; and then remove std:: and it works
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.
i've noticed that log2 with newlib as an issue.
If you try this simple program
And try to compile it you will have this error:
This because log2 into newlib (in math.h) that is called from cmath:45 is defined as a macro so std::seems not work
#define log2(x) (log (x) / M_LOG2_E)
Do you have a quick workaround for this?