-
-
Notifications
You must be signed in to change notification settings - Fork 171
Why do we pass "-std=gnu++0x" to the compiler? #945
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
|
I'm going to try and change this option to see if CI can pass. |
CI: https://ci.nodejs.org/job/node-test-commit/13446/ I already see that LinuxONE does not support it. |
/cc @nodejs/build and @nodejs/v8 |
So, by looking at this build, I see that we are still compiling with GCC 4.8. but we officially stopped to support it for Node 8. New CI with Edit: GCC 4.8 does not support C++14. I don't know if 4.9 does. |
/cc @bnoordhuis |
RE migration to a newer version: we're trying to balance the new requirements (GCC 4.9 for example is a "soft" requirement) and still keeping the old configuration for LTS node versions.
|
If CI is green, I'll start a new run with |
Canary build: https://ci.nodejs.org/view/MyJobs/job/node-test-commit-node-v8/193/ Edit: that obviously does not work :( |
It's looking good on osx with Here is a proposition that should work:
@refack do you think it's possible to modify |
Yep, I'll make a PR |
refack/node@master...higher-c++-ver-by-default https://ci.nodejs.org/job/node-test-commit/13465/ For now I see that |
Right, that might be a problem. Technically it already matters if you compile with 4.8.2 or 4.8.3 (libstdc++ 6.0.18 vs. 6.0.19; 4.9 is 6.0.20) but yeah. |
I know this is closed already, but I would very much like it if we could go up to GCC 4.9. We can't use a bunch of C++14 feature in V8, because then Node wouldn't compile anymore with 4.8. |
@fhinkel do you mind opening a new issue? IMO It's important that we arrive to a conclusion before the release of Node 10. |
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/728026#message-a337cd5c8611b2408a8972deb3d20528b5845be1
It seems that we should pass
-std=gnu++11
at least. Unless we support compilers that don't have this option?The text was updated successfully, but these errors were encountered: