nm test.o: (g++, cmath, exp, expf)

Reza Roboubi rezarob@gmail.com
Sun Sep 29 20:25:00 GMT 2013


On Sun, Sep 29, 2013 at 7:31 AM, Alan Modra <amodra@gmail.com> wrote:
> Oh, I see.  You missed a "using namespace std;" in your testcase, or
> neglected to write std::exp().  There is a difference between plain
> exp() and std::exp().
>
> --
> Alan Modra
> Australia Development Lab, IBM

Alan, THANK YOU!  hmm...
<Off-topic>
Where does the standard say that?  C++ is very convoluted!:(
</Off-topic>

Reza.



More information about the Binutils mailing list