diff --git a/plugins/GSdx/CMakeLists.txt b/plugins/GSdx/CMakeLists.txt index 46254d9bc8..6cc36d59af 100644 --- a/plugins/GSdx/CMakeLists.txt +++ b/plugins/GSdx/CMakeLists.txt @@ -16,6 +16,8 @@ set(CommonFlags -mfpmath=sse #-Wstrict-aliasing # Allow to track strict aliasing issue. -Wunused-variable + -std=c++0x + -fno-strict-aliasing ) set(OptimizationFlags diff --git a/plugins/GSdx/GSThread.h b/plugins/GSdx/GSThread.h index a2ed3b7de4..8a205cb188 100644 --- a/plugins/GSdx/GSThread.h +++ b/plugins/GSdx/GSThread.h @@ -189,7 +189,7 @@ class GSCondVar pthread_cond_t m_cv; public: - GSCondVar() {pthread_cond_init(&m_cv);} + GSCondVar() {pthread_cond_init(&m_cv, NULL);} virtual ~GSCondVar() {pthread_cond_destroy(&m_cv);} void Set() {pthread_cond_signal(&m_cv);} diff --git a/plugins/GSdx/stdafx.h b/plugins/GSdx/stdafx.h index fdd228af1b..9eaef9a4bd 100644 --- a/plugins/GSdx/stdafx.h +++ b/plugins/GSdx/stdafx.h @@ -113,9 +113,7 @@ using namespace std; #ifdef __GNUC__ - #include - - using namespace std::tr1; + #include #endif