From c44413067da24f5d768f3fde25248cdba5a566bd Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Wed, 9 Mar 2016 09:44:51 -0300 Subject: QNX: Fix compilation QNX only export library functions into the std namespace. Change-Id: Id5c479bb8b4540e26edabd6f50bc0f3f32e72432 Reviewed-by: Simon Hausmann --- src/3rdparty/masm/stubs/ExecutableAllocator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/3rdparty') diff --git a/src/3rdparty/masm/stubs/ExecutableAllocator.h b/src/3rdparty/masm/stubs/ExecutableAllocator.h index fe8fc66b03..5a3939b7b2 100644 --- a/src/3rdparty/masm/stubs/ExecutableAllocator.h +++ b/src/3rdparty/masm/stubs/ExecutableAllocator.h @@ -57,6 +57,10 @@ #include #endif +#ifdef __QNXNTO__ +using std::perror; +#endif + namespace JSC { class JSGlobalData; -- cgit v1.2.3 From ad1b0b6e7a6b5d266a36138295e6a58ad98fd1ef Mon Sep 17 00:00:00 2001 From: Rolland Dudemaine Date: Tue, 29 Mar 2016 06:55:56 +0200 Subject: Remove dummy implementation for Pass*Ptr operator=(). This resolves a lot of warnings when building with the GHS toolchain. Change-Id: I061dac0bf42f6a8158afe8eee9c898e8f7ee4dd7 Reviewed-by: Frank Meerkoetter Reviewed-by: Simon Hausmann --- src/3rdparty/masm/stubs/wtf/PassOwnPtr.h | 4 ++-- src/3rdparty/masm/stubs/wtf/PassRefPtr.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/3rdparty') diff --git a/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h b/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h index 21436b0bec..0e18132f77 100644 --- a/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h +++ b/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h @@ -101,8 +101,8 @@ public: private: template friend PassOwnPtr adoptPtr(PtrType*); - PassOwnPtr& operator=(const PassOwnPtr&) - {} + PassOwnPtr& operator=(const PassOwnPtr& t); + mutable QScopedPointer m_ptr; }; diff --git a/src/3rdparty/masm/stubs/wtf/PassRefPtr.h b/src/3rdparty/masm/stubs/wtf/PassRefPtr.h index 1a837464fa..f072e70dd7 100644 --- a/src/3rdparty/masm/stubs/wtf/PassRefPtr.h +++ b/src/3rdparty/masm/stubs/wtf/PassRefPtr.h @@ -81,8 +81,7 @@ public: } private: - PassRefPtr& operator=(const PassRefPtr&) - {} + PassRefPtr& operator=(const PassRefPtr& t); template friend PassRefPtr adoptRef(PtrType*); mutable T* m_ptr; -- cgit v1.2.3