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

configure: remove workarounds for GCC < 4.8 #187

Closed
wants to merge 1 commit into from
Closed

configure: remove workarounds for GCC < 4.8 #187

wants to merge 1 commit into from

Conversation

seishun
Copy link
Contributor

@seishun seishun commented Dec 20, 2014

They can't compile io.js anyway.

Additionally, it seems the 'gcc_version' variable is no longer used in config.gypi, perhaps it can be removed too? The 'clang' variable is now only used to enable this monstrosity, which was apparently copied from V8. However, V8 currently enables it based only on the OS, which makes sense, since only Mac OS users are going to use XCode. Maybe io.js could do the same, eliminating the need to detect compilers?

On a less related note, why does io.js use -std=gnu++0x instead of -std=c++11? I've tried the latter and it builds just fine.

They can't compile io.js anyway.
@bnoordhuis
Copy link
Member

gcc_version and clang are currently used by libuv but see libuv/libuv#76. Once that lands, it's safe to remove them.

why does io.js use -std=gnu++0x instead of -std=c++11?

The idea was to be compatible with gcc 4.6, which doesn't know about -std=c++11. I guess we can change that because building with 4.6 doesn't work anyway.

bnoordhuis pushed a commit that referenced this pull request Dec 20, 2014
They can't compile io.js anyway.

PR-URL: #187
Reviewed-By: Ben Noordhuis <[email protected]>
@bnoordhuis
Copy link
Member

Landed in ef10827. Thanks, Nikolai!

@bnoordhuis bnoordhuis closed this Dec 20, 2014
minervapanda pushed a commit to minervapanda/node that referenced this pull request Oct 9, 2016
jasongin added a commit to jasongin/nodejs that referenced this pull request Mar 23, 2017
 - Simplify conversion to/from napi_value
 - Better names for CallbackWrapper template params
 - Fatal error when trying to set setter return value
 - Use node::arraysize
 - Replace v8::Handle with v8::Local
 - Align the star after v8::Isolate
boingoing pushed a commit to boingoing/node that referenced this pull request Apr 6, 2017
 - Simplify conversion to/from napi_value
 - Better names for CallbackWrapper template params
 - Fatal error when trying to set setter return value
 - Use node::arraysize
 - Replace v8::Handle with v8::Local
 - Align the star after v8::Isolate
syg pushed a commit to syg/node that referenced this pull request Jun 20, 2024
eti-p-doray pushed a commit to eti-p-doray/node that referenced this pull request Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants