-
-
Notifications
You must be signed in to change notification settings - Fork 7k
math.h support gone from nighlty build #2338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jtouch |
The board is a Due. I can't post the full code (it's proprietary), but I can post a test I wrote that also fails:
Here are the errors: mathtest.cpp.o: In function |
I see it now, it's probably a regression after this commit: 37ee800 May you try to change the
I moved the |
@cmaglie, huh? In the commit you referenced, you didn't touch the -lm option at all? However, you did switch from g++ to gcc, do you think that command is more picky about the ordering of link options? It seems the avr version does have -lm at the end (and has had so for as long as I can quickly see). |
From my experience the command line order does matter. I didn't checked directly but 37ee800 seems the only recent commit touching the platform.txt file and, yeah, I don't know why it was working with g++ and not with gcc. |
It works. Thanks! |
Hi, all,
Support for math.h functions appears to have disappeared. Previous builds supported sin(), cos(), etc., and known constants.
I haven't checked nightly builds every night, but it worked in the nightly a few weeks ago (and works fine in 1.5.6-r2 and 1.5.7, but doesn't in the current nightly.
Joe
The text was updated successfully, but these errors were encountered: