Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vagrant@debian:~/mongo$ scons mongod
- scons: Reading SConscript files ...
- scons version: 2.3.1
- python version: 2 7 9 'final' 0
- Checking whether the C++ compiler works... (cached) yes
- Checking whether the C compiler works... (cached) yes
- Checking if C++ compiler "g++" is GCC... (cached) yes
- Checking if C compiler "gcc" is GCC... (cached) yes
- Detected a x86_64 processor
- Checking if target OS linux is supported by the toolchain (cached) yes
- Checking if C compiler is GCC 4.8.2 or newer...(cached) yes
- Checking if C++ compiler is GCC 4.8.2 or newer...(cached) yes
- Checking if C compiler supports -Wno-unused-local-typedefs... (cached) yes
- Checking if C compiler supports -Wno-unused-function... (cached) yes
- Checking if C compiler supports -Wno-unused-private-field... (cached) no
- Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes
- Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no
- Checking if C compiler supports -Wno-unused-const-variable... (cached) no
- Checking if C compiler supports -Wno-unused-but-set-variable... (cached) yes
- Checking if C compiler supports -Wno-missing-braces... (cached) yes
- Checking if C compiler supports -Wno-inconsistent-missing-override... (cached) no
- Checking if C compiler supports -Wno-potentially-evaluated-expression... (cached) no
- Checking if we are using libstdc++... (cached) yes
- Checking if C++ compiler supports -std=c++11... (cached) yes
- Checking if C compiler supports -std=c99... (cached) yes
- Checking for C++11... (cached) yes
- Checking for memset_s... (cached) no
- Checking for libstdc++ 4.8.2 or better... (cached) yes
- Checking if we are on a POSIX system... (cached) yes
- Checking if the POSIX monotonic clock is supported... (cached) yes
- Checking off_t is 8 bytes... (cached) yes
- Checking if C compiler supports -fno-builtin-memcmp... (cached) yes
- Checking for storage class thread_local (cached) yes
- Checking for storage class __thread (cached) yes
- Checking for storage class __declspec(thread) (cached) no
- Checking for C++11 is_trivially_copyable support... (cached) no
- Checking for C++14 std::make_unique support... (cached) no
- Checking for C library rt... (cached) yes
- Checking for C library dl... (cached) yes
- Checking for C++ header file execinfo.h... (cached) yes
- Checking whether backtrace is declared... (cached) yes
- Checking whether backtrace_symbols is declared... (cached) yes
- Checking whether backtrace_symbols_fd is declared... (cached) yes
- Checking for C library pcap... (cached) no
- Checking for C library wpcap... (cached) no
- Checking if std::atomic<int64_t> works... (cached) yes
- Checking if std::atomic<uint64_t> works... (cached) yes
- Checking if std::atomic<int32_t> works... (cached) yes
- Checking if std::atomic<uint32_t> works... (cached) yes
- Checking if __malloc_hook is declared volatile... (cached) yes
- Checking for C function fallocate()... (cached) yes
- Checking for C function sync_file_range()... (cached) yes
- scons: done reading SConscript files.
- scons: Building targets ...
- g++ -o build/opt/third_party/mozjs-38/extract/js/src/builtin/RegExp.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -Wno-non-virtual-dtor -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -DAB_CD -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DNO_NSPR_10_SUPPORT -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DPCRE_STATIC -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-38/extract/js/src -Isrc/third_party/mozjs-38/extract/js/src -Ibuild/opt/third_party/mozjs-38/extract/mfbt -Isrc/third_party/mozjs-38/extract/mfbt -Ibuild/opt/third_party/mozjs-38/extract/intl/icu/source/common -Isrc/third_party/mozjs-38/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-38/include -Isrc/third_party/mozjs-38/include -Ibuild/opt/third_party/mozjs-38/mongo_sources -Isrc/third_party/mozjs-38/mongo_sources -Ibuild/opt/third_party/mozjs-38/platform/x86_64/linux/build -Isrc/third_party/mozjs-38/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-38/platform/x86_64/linux/include -Isrc/third_party/mozjs-38/platform/x86_64/linux/include -Isrc/third_party/zlib-1.2.8 src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp
- In file included from src/third_party/mozjs-38/extract/js/src/jstypes.h:133:0,
- from src/third_party/mozjs-38/include/js/Utility.h:26,
- from src/third_party/mozjs-38/extract/js/src/jsalloc.h:18,
- from src/third_party/mozjs-38/extract/js/src/jsatom.h:12,
- from src/third_party/mozjs-38/extract/js/src/vm/Runtime.h:21,
- from src/third_party/mozjs-38/extract/js/src/jscntxt.h:15,
- from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
- src/third_party/mozjs-38/extract/js/src/jscpucfg.h:71:4: error: #error "endian.h does not define __BYTE_ORDER nor BYTE_ORDER. Cannot determine endianness."
- # error "endian.h does not define __BYTE_ORDER nor BYTE_ORDER. Cannot determine endianness."
- ^
- In file included from src/third_party/mozjs-38/include/mozilla/Assertions.h:312:0,
- from src/third_party/mozjs-38/extract/mfbt/endian.h:67,
- from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
- from /usr/include/stdlib.h:42,
- from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
- from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
- from src/third_party/mozjs-38/include/js/Vector.h:10,
- from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
- from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:26:1: error: template with C linkage
- template<typename> struct RemoveCV;
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:34:1: error: template with C linkage
- template<typename T, T Value>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:52:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:55:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:68:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:73:1: error: template with C linkage
- template <typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:76:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<char> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:77:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<signed char> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:78:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<unsigned char> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:79:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<short> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:80:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<unsigned short> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:81:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<int> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:82:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<unsigned int> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:83:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:84:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<unsigned long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:85:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<long long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:86:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<unsigned long long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:87:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<bool> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:88:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<wchar_t> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:90:1: error: template specialization with C linkage
- template<> struct IsIntegralHelper<char16_t> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:107:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:111:1: error: template with C linkage
- template<typename T, typename U>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:116:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:135:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:142:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:145:1: error: template with C linkage
- template<typename T, decltype(sizeof(1)) N>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:148:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:161:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:175:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:178:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:192:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:195:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:209:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:212:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:218:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:232:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:243:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:259:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:280:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:294:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:308:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:311:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:321:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:324:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:335:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:338:1: error: template specialization with C linkage
- template<> struct IsPod<char> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:339:1: error: template specialization with C linkage
- template<> struct IsPod<signed char> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:340:1: error: template specialization with C linkage
- template<> struct IsPod<unsigned char> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:341:1: error: template specialization with C linkage
- template<> struct IsPod<short> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:342:1: error: template specialization with C linkage
- template<> struct IsPod<unsigned short> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:343:1: error: template specialization with C linkage
- template<> struct IsPod<int> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:344:1: error: template specialization with C linkage
- template<> struct IsPod<unsigned int> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:345:1: error: template specialization with C linkage
- template<> struct IsPod<long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:346:1: error: template specialization with C linkage
- template<> struct IsPod<unsigned long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:347:1: error: template specialization with C linkage
- template<> struct IsPod<long long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:348:1: error: template specialization with C linkage
- template<> struct IsPod<unsigned long long> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:349:1: error: template specialization with C linkage
- template<> struct IsPod<bool> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:350:1: error: template specialization with C linkage
- template<> struct IsPod<float> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:351:1: error: template specialization with C linkage
- template<> struct IsPod<double> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:352:1: error: template specialization with C linkage
- template<> struct IsPod<wchar_t> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:354:1: error: template specialization with C linkage
- template<> struct IsPod<char16_t> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:356:1: error: template with C linkage
- template<typename T> struct IsPod<T*> : TrueType {};
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:364:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:411:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:418:1: error: template with C linkage
- template<typename T,
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:425:1: error: template with C linkage
- template<typename T, typename NoCV>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:429:1: error: template with C linkage
- template<typename T, typename NoCV>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:435:1: error: template with C linkage
- template<typename T, typename NoCV>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:449:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:454:1: error: template with C linkage
- template<typename T,
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:461:1: error: template with C linkage
- template<typename T, typename NoCV>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:465:1: error: template with C linkage
- template<typename T, typename NoCV>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:472:1: error: template with C linkage
- template<typename T, typename NoCV>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:485:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:502:1: error: template with C linkage
- template<typename T, typename U>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:505:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:512:1: error: template with C linkage
- template<class Base, class Derived>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:581:1: error: template with C linkage
- template<class Base, class Derived>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:588:1: error: template with C linkage
- template<typename From, typename To>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:628:1: error: template with C linkage
- template<typename From, typename To>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:645:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:651:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:665:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:671:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:685:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:701:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:707:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:713:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:719:1: error: template with C linkage
- template<bool Condition, typename A, typename B>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:726:1: error: template with C linkage
- template<typename T, Voidness V = IsVoid<T>::value ? TIsVoid : TIsNotVoid>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:729:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:735:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:757:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:764:1: error: template with C linkage
- template<bool B, typename T = void>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:769:1: error: template with C linkage
- template<bool MakeConst, typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:773:1: error: template with C linkage
- template<bool MakeVolatile, typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:778:1: error: template with C linkage
- template<bool MakeConst, bool MakeVolatile, typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:782:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:785:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:787:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:789:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:791:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:793:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:795:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:798:1: error: template with C linkage
- template<typename T,
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:804:1: error: template with C linkage
- template<typename T, typename CVRemoved>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:810:1: error: template with C linkage
- template<typename T, typename CVRemoved>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:840:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:850:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:853:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:855:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:857:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:859:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:861:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:863:1: error: template specialization with C linkage
- template<>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:867:1: error: template with C linkage
- template<typename T,
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:873:1: error: template with C linkage
- template<typename T, typename CVRemoved>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:879:1: error: template with C linkage
- template<typename T, typename CVRemoved>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:909:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:928:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:934:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:940:1: error: template with C linkage
- template<typename T, decltype(sizeof(1)) N>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:968:1: error: template with C linkage
- template<bool B, typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:972:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:984:1: error: template with C linkage
- template<bool Condition, typename A, typename B>
- ^
- src/third_party/mozjs-38/include/mozilla/TypeTraits.h:990:1: error: template with C linkage
- template<class A, class B>
- ^
- In file included from src/third_party/mozjs-38/extract/mfbt/endian.h:67:0,
- from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
- from /usr/include/stdlib.h:42,
- from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
- from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
- from src/third_party/mozjs-38/include/js/Vector.h:10,
- from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
- from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
- src/third_party/mozjs-38/include/mozilla/Assertions.h:316:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/include/mozilla/Assertions.h:322:1: error: template with C linkage
- template<typename R, typename... A>
- ^
- src/third_party/mozjs-38/include/mozilla/Assertions.h:328:1: error: template with C linkage
- template<typename T>
- ^
- In file included from src/third_party/mozjs-38/extract/mfbt/endian.h:70:0,
- from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
- from /usr/include/stdlib.h:42,
- from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
- from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
- from src/third_party/mozjs-38/include/js/Vector.h:10,
- from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
- from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
- src/third_party/mozjs-38/include/mozilla/DebugOnly.h:36:1: error: template with C linkage
- template<typename T>
- ^
- In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
- from /usr/include/stdlib.h:42,
- from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
- from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
- from src/third_party/mozjs-38/include/js/Vector.h:10,
- from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
- from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
- src/third_party/mozjs-38/extract/mfbt/endian.h:167:1: error: template with C linkage
- template<typename T, size_t Size = sizeof(T)>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:170:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:183:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:201:1: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:248:3: error: template with C linkage
- template<typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:259:3: error: template with C linkage
- template<Endianness SourceEndian, Endianness DestEndian, typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:272:3: error: template with C linkage
- template<Endianness SourceEndian, Endianness DestEndian, typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:289:3: error: template with C linkage
- template<Endianness SourceEndian, Endianness DestEndian, typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:317:3: error: template with C linkage
- template<Endianness SourceEndian, Endianness DestEndian, typename T>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:342:1: error: template with C linkage
- template<Endianness ThisEndian>
- ^
- src/third_party/mozjs-38/extract/mfbt/endian.h:623:1: error: template with C linkage
- template<Endianness ThisEndian>
- ^
- In file included from /usr/include/stdlib.h:42:0,
- from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
- from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
- from src/third_party/mozjs-38/include/js/Vector.h:10,
- from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
- from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
- from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:79:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:74:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_retcode'
- unsigned int __w_retcode:8; /* Return code if exited normally. */
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:80:28: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:73:28: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_coredump'
- unsigned int __w_coredump:1; /* Set if dumped core. */
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:81:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:72:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_termsig'
- unsigned int __w_termsig:7; /* Terminating signal. */
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:93:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:88:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:94:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h:87:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- scons: *** [build/opt/third_party/mozjs-38/extract/js/src/builtin/RegExp.o] Error 1
- scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement