This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: nm test.o: (g++, cmath, exp, expf)
- From: Alan Modra <amodra at gmail dot com>
- To: Reza Roboubi <rezarob at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 30 Sep 2013 00:01:44 +0930
- Subject: Re: nm test.o: (g++, cmath, exp, expf)
- Authentication-results: sourceware.org; auth=none
- References: <CAA51LV5hS8UJdpC4L0hFbEufhDOn9ejEGw2FgTTXu-VCEDiXHA at mail dot gmail dot com> <5245404B dot 7020309 at redhat dot com> <CAA51LV7otdzhJ8w-VKjBCXPVY5Otmd+Z_F2DivEgf2Zru7tQug at mail dot gmail dot com> <20130929040630 dot GA26564 at bubble dot grove dot modra dot org> <CAA51LV4uie3j=_EsAOiwm42QUoq1SD=fkA4AHySAoc1nBYG0xw at mail dot gmail dot com>
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
- References:
- nm test.o: (g++, cmath, exp, expf)
- Re: nm test.o: (g++, cmath, exp, expf)
- Re: nm test.o: (g++, cmath, exp, expf)
- Re: nm test.o: (g++, cmath, exp, expf)
- Re: nm test.o: (g++, cmath, exp, expf)