- Disabled -Weffc++ flag, fixing these warnings produces too much useless code

- Enabled -pedantic, -Wold-style-cast and -Wundef for src/ and test/


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@499 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
lfittl 2006-01-19 23:11:57 +00:00
parent 7acf9ff6be
commit c68642eb5f
25 changed files with 83 additions and 56 deletions

View file

@ -52,7 +52,7 @@ public:
int rel(int t)
{
return ( t100==0 ? 100 : (int) floor(100.0*t/t100+0.5) );
return ( t100==0 ? 100 : static_cast<int>(floor(100.0*t/t100+0.5)) );
}
double speedup(int t)
@ -75,6 +75,10 @@ private:
#endif
// $Log$
// Revision 1.6 2006/01/19 23:11:57 lfittl
// - Disabled -Weffc++ flag, fixing these warnings produces too much useless code
// - Enabled -pedantic, -Wold-style-cast and -Wundef for src/ and test/
//
// Revision 1.5 2005/10/30 14:03:23 syntheticpp
// replace tabs space
//