Added the #pragma directive for MSVC++ in all .cpp
This commit is contained in:
parent
62686ac406
commit
a5e3abd9f6
30 changed files with 150 additions and 0 deletions
|
|
@ -23,6 +23,11 @@
|
||||||
mak@dhi.dk
|
mak@dhi.dk
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stream.h>
|
#include <stream.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <eoFunctorStore.h>
|
#include <eoFunctorStore.h>
|
||||||
#include <eoFunctor.h>
|
#include <eoFunctor.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <eoPersistent.h>
|
#include <eoPersistent.h>
|
||||||
|
|
||||||
//Implementation of these objects
|
//Implementation of these objects
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// eoPrintable.cpp
|
// eoPrintable.cpp
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of select/replace fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of select/replace fns
|
||||||
* of the library for evolution of ***eoEs genotypes*** inside EO.
|
* of the library for evolution of ***eoEs genotypes*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of select/replace fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of select/replace fns
|
||||||
* of the library for evolution of ***eoReal*** inside EO.
|
* of the library for evolution of ***eoReal*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of checkpoint fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of checkpoint fns
|
||||||
* of the library for evolution of ***ES genotypes*** inside EO.
|
* of the library for evolution of ***ES genotypes*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of checkpoint fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of checkpoint fns
|
||||||
* of the library for evolution of ***eoReal*** inside EO.
|
* of the library for evolution of ***eoReal*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of continuator fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of continuator fns
|
||||||
* of the library for evolution of ***ES genotypes*** inside EO.
|
* of the library for evolution of ***ES genotypes*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of continuator fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of continuator fns
|
||||||
* of the library for evolution of ***REAL vectors*** inside EO.
|
* of the library for evolution of ***REAL vectors*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of eoReal Init fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of eoReal Init fns
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
* Compiling this file allows one to generate part of the library (i.e. object
|
* Compiling this file allows one to generate part of the library (i.e. object
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of eoReal Init fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of eoReal Init fns
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
* Compiling this file allows one to generate part of the library (i.e. object
|
* Compiling this file allows one to generate part of the library (i.e. object
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of operators fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of operators fns
|
||||||
* of the library for ***eoReal*** evolution inside EO.
|
* of the library for ***eoReal*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of operators fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of operators fns
|
||||||
* of the library for ***eoReal*** evolution inside EO.
|
* of the library for ***eoReal*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of pop. init. fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of pop. init. fns
|
||||||
* of the library for evolution of ***ES genotypes*** indis inside EO.
|
* of the library for evolution of ***ES genotypes*** indis inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of pop. init. fns
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of pop. init. fns
|
||||||
* of the library for evolution of ***eoReal*** indis inside EO.
|
* of the library for evolution of ***eoReal*** indis inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of run funs
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of run funs
|
||||||
* of the library for evolution of ***ES genotypes*** inside EO.
|
* of the library for evolution of ***ES genotypes*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains ***INSTANCIATED DEFINITIONS*** of run funs
|
/** This file contains ***INSTANCIATED DEFINITIONS*** of run funs
|
||||||
* of the library for evolution of ***eoReal*** inside EO.
|
* of the library for evolution of ***eoReal*** inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains all ***INSTANCIATED DEFINITIONS*** of pop. init.
|
/** This file contains all ***INSTANCIATED DEFINITIONS*** of pop. init.
|
||||||
* of the library for ***BISTRING*** evolution inside EO.
|
* of the library for ***BISTRING*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
||||||
* of the library for ***BISTRING*** evolution inside EO.
|
* of the library for ***BISTRING*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
||||||
* of the library for ***BISTRING*** evolution inside EO.
|
* of the library for ***BISTRING*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
||||||
* of the library for ***BISTRING*** evolution inside EO.
|
* of the library for ***BISTRING*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
||||||
* of the library for ***BISTRING*** evolution inside EO.
|
* of the library for ***BISTRING*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains all ***INSTANCIATED DEFINITIONS*** of population init
|
/** This file contains all ***INSTANCIATED DEFINITIONS*** of population init
|
||||||
* of the library for ***BISTRING*** evolution inside EO.
|
* of the library for ***BISTRING*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
/** This file contains all ***INSTANCIATED DEFINITIONS*** of operators
|
||||||
* of the library for ***BISTRING*** evolution inside EO.
|
* of the library for ***BISTRING*** evolution inside EO.
|
||||||
* It should be included in the file that calls any of the corresponding fns
|
* It should be included in the file that calls any of the corresponding fns
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include "eoRNG.h"
|
#include "eoRNG.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <strstream>
|
#include <strstream>
|
||||||
#include "eoRealBounds.h"
|
#include "eoRealBounds.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,11 @@
|
||||||
mkeijzer@dhi.dk
|
mkeijzer@dhi.dk
|
||||||
*/
|
*/
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// to avoid long name warnings
|
||||||
|
#pragma warning(disable:4786)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <utils/eoParser.h>
|
#include <utils/eoParser.h>
|
||||||
#include <fstream.h>
|
#include <fstream.h>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
||||||
Reference in a new issue