[Coin-discuss] Clp\Idiot.cpp
Vivian De Smedt
vivian at vdesmedt.com
Fri Dec 13 11:34:26 EST 2002
Dear Coin,
This mail just to report small problem in the win32 compilation of the
"Idiot.cpp" file it include some files (<sys/times.h>, <sys/resource.h>)
that the win32 is not confortable with. I propose to make the same that you
do in anothers file (ClpMain.cpp) protect them for insertion for the win32
version with the _MSC_VER flag:
#ifndef _MSC_VER
#include <sys/times.h>
#include <sys/resource.h>
#include <unistd.h>
#endif
In the same file ("Idiot.cpp")
The implementation of the crossOver method is protected by the CLP_IDIOT
flag but the declaration in the header is not.
May be could you protect the body of the crossOver function instead or
protect it's declaration too.
Vivian De Smedt
More information about the Coin-discuss
mailing list