[Coin-discuss] Clp\Idiot.cpp

J P Fasano jpfasano at us.ibm.com
Sat Dec 14 22:44:19 EST 2002





Yes you are right.
The change has been checked into the cvs repository

JP Fasano
jpfasano at us.ibm.com
(914)945-1324  (tie line 862-1324)
COIN www.coin-or.org


                                                                                                                                                     
                      Vivian De Smedt <vivian at vdesmedt.com>                                                                                          
                      Sent by:                                     To:       coin-discuss at www-124.southbury.usf.ibm.com                              
                      coin-discuss-admin at www-124.southbury.        cc:                                                                               
                      usf.ibm.com                                  Subject:  [Coin-discuss] Clp\Idiot.cpp                                            
                                                                                                                                                     
                                                                                                                                                     
                      12/13/2002 11:34 AM                                                                                                            
                      Please respond to coin-discuss                                                                                                 
                                                                                                                                                     
                                                                                                                                                     



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

_______________________________________________
Coin-discuss mailing list
Coin-discuss at www-124.ibm.com
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss






More information about the Coin-discuss mailing list