Skip to content
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

Compilation failures with GCC 9 #26

Open
Morwenn opened this issue Sep 21, 2019 · 2 comments
Open

Compilation failures with GCC 9 #26

Morwenn opened this issue Sep 21, 2019 · 2 comments
Labels

Comments

@Morwenn
Copy link
Owner

Morwenn commented Sep 21, 2019

Some of the tests that passed start failing with GCC 9:

  • The smath::exp tests in cmath.cpp
  • The smath::cos tests in trigonometry.cpp

They fail with issues such as the following one:

‘((double)1 + 2.0e+0)’ is not a constant expression

I didn't implement these functions so I'm not sure why they're failing now. @theLOLflashlight any idea why it is failing if you're still around?

@Morwenn Morwenn added the bug label Sep 21, 2019
@theLOLflashlight
Copy link
Contributor

theLOLflashlight commented Oct 10, 2019

As far as I know ((double)1 + 2.0e+0) IS a constant expression. This is perhaps an issue with the compiler. I ran into similar issues when writing the original code on a previous version of msvc but I think those are fixed now. I'd try reporting this as a compiler bug.

@Morwenn
Copy link
Owner Author

Morwenn commented Oct 10, 2019

Hum, that's unfortunate, I wish I could avoid having to bypass compiler bugs ^^'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants