Closed elhoyos closed 7 years ago
From what I see you're running an older version of the C++ compiler that doesn't support the code syntax (it's a recent syntax).
My Debian GCC (production):
[root@runner-1 ~]# gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
My Mac GCC (development):
⋊> ~ gcc --version 17:27:58
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin17.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
(see my latest edit, added more things)
It worked! I upgraded to 4.9.4. Thank you so much.
When running
$ npm install --production
on a project using https://github.com/valeriansaliou/node-fast-ratelimit I get this error:I thought was suffering from this same problem given the error line and message points there, but after running the test case there the compilation runs ok.
I use OS X in my dev environment and the compilation runs ok.
Any advise?