gsdx linux:

* use memory instead of tr1 (was the experimental implementation of c++11)
* remove strict aliasing optimization because I saw some bad warnings
* Fix pthread of the previous commit. Use default attribute but it might need some tuning


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5020 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2011-12-27 12:22:13 +00:00
parent 25072b99c7
commit ba14c557ed
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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);}

View File

@ -113,9 +113,7 @@ using namespace std;
#ifdef __GNUC__
#include <tr1/memory>
using namespace std::tr1;
#include <memory>
#endif