Add climits header as required for gcc-4.3 when using UINT_MAX
This commit is contained in:
parent
fb6201a144
commit
1187a83c82
4 changed files with 24 additions and 37 deletions
|
|
@ -9,35 +9,20 @@
|
||||||
// (c) Maarten Keijzer, Marc Schoenauer and GeNeura Team, 2000
|
// (c) Maarten Keijzer, Marc Schoenauer and GeNeura Team, 2000
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
|
||||||
License as published by the Free Software Foundation; either
|
License as published by the Free Software Foundation; either
|
||||||
|
|
||||||
version 2 of the License, or (at your option) any later version.
|
version 2 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
This library is distributed in the hope that it will be useful,
|
This library is distributed in the hope that it will be useful,
|
||||||
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
|
||||||
Lesser General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
|
||||||
License along with this library; if not, write to the Free Software
|
License along with this library; if not, write to the Free Software
|
||||||
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Contact: todos@geneura.ugr.es, http://geneura.ugr.es
|
Contact: todos@geneura.ugr.es, http://geneura.ugr.es
|
||||||
|
|
||||||
Marc.Schoenauer@polytechnique.fr
|
Marc.Schoenauer@polytechnique.fr
|
||||||
|
|
@ -59,14 +44,12 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <climits>
|
||||||
|
|
||||||
#include <eoScalarFitness.h>
|
#include <eoScalarFitness.h>
|
||||||
|
|
||||||
#include <utils/selectors.h> // for minimizing_fitness()
|
#include <utils/selectors.h> // for minimizing_fitness()
|
||||||
|
|
||||||
#include <EO.h>
|
#include <EO.h>
|
||||||
|
|
||||||
#include <eoEvalFuncCounter.h>
|
#include <eoEvalFuncCounter.h>
|
||||||
|
|
||||||
#include <utils/checkpointing>
|
#include <utils/checkpointing>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@
|
||||||
#ifndef _make_checkpoint_h
|
#ifndef _make_checkpoint_h
|
||||||
#define _make_checkpoint_h
|
#define _make_checkpoint_h
|
||||||
|
|
||||||
|
#include <climits>
|
||||||
|
|
||||||
#include <eoScalarFitness.h>
|
#include <eoScalarFitness.h>
|
||||||
#include <utils/selectors.h> // for minimizing_fitness()
|
#include <utils/selectors.h> // for minimizing_fitness()
|
||||||
#include <EO.h>
|
#include <EO.h>
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <climits>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,8 @@
|
||||||
#ifndef _make_checkpoint_pareto_h
|
#ifndef _make_checkpoint_pareto_h
|
||||||
#define _make_checkpoint_pareto_h
|
#define _make_checkpoint_pareto_h
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <climits>
|
||||||
|
#include <cstdlib>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "EO.h"
|
#include "EO.h"
|
||||||
|
|
|
||||||
Reference in a new issue