diff --git a/cmt/requirements-lite.generic b/cmt/requirements-lite.generic index 1e16a184cbffc89505e9aaaf3c87994d943fddba..776ec2cce42818fb485679bd0be03dc91c76e8b3 100644 --- a/cmt/requirements-lite.generic +++ b/cmt/requirements-lite.generic @@ -4,7 +4,7 @@ use class * #compiler options #default is gcc here are the C++ compiler options -macro cppflags " -O2 -pipe -fPIC -Wall " +macro cppflags " -O2 -pipe -fPIC -Wall -Wno-reorder -Wno-sign-compare -Wno-unknown-pragmas" #do we need optimzations here? #macro_append cppflags "-ffast-math -m64 " diff --git a/src/AbsRand/OofNoise.cc b/src/AbsRand/OofNoise.cc index ada73c92c506418f6a6f13a116ac77e76f814be3..746ae8e0c6264b51ac57ad76ee96e46e7f893096 100644 --- a/src/AbsRand/OofNoise.cc +++ b/src/AbsRand/OofNoise.cc @@ -75,7 +75,8 @@ OofNoise::OofNoise(AbsGauss* r,double slope,double fmin,double fknee,double fsam OofNoise::~OofNoise(){ for (unsigned i=0;i& par) const=0; protected: diff --git a/src/camel/Class/ClassEngine.cc b/src/camel/Class/ClassEngine.cc index 9abb92f6e980b6716c5cd2bc0dbd9acbcf2d4c25..dc35388f95801fec82debda0312b0a88c3e5abbf 100644 --- a/src/camel/Class/ClassEngine.cc +++ b/src/camel/Class/ClassEngine.cc @@ -94,7 +94,7 @@ ClassEngine::ClassEngine(const ClassParams& pars): cl(0),dofree(true),pvecback(0 //prepare fp structure size_t n=pars.size(); // - parser_init(&fc,n,"pipo",_errmsg); + parser_init(&fc,n,const_cast("pipo"),_errmsg); //config for (size_t i=0;i("pipo"),_errmsg); //config for (size_t i=0;i