COIN-OR::LEMON - Graph Library

Custom Query (545 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 545)

Ticket Owner Reporter Resolution Summary
#502 Alpar Juttner amluto fixed Build broken with cmake 2.8
Description

[fe4ff72e2f14b62c5ff8f565db888186ab490275/lemon] broke the build using cmake 2.8, which does not recognize the CMP0048 policy. The attached patch fixes it for me (well, it fixes this particular regression).

#503 Alpar Juttner amluto fixed Test don't build if LEMON_HAVE_GLPK but LEMON_DEFAILT_MIP==_LEMON_CBC
Description

lemon/lp.h is currently broken: depending on the configuration, CbcMip will be undefined and lp.h won't build.

#595 Alpar Juttner Alpar Juttner fixed MinGW (codeblocks) compilation problem
Description

We use WIN32 define at several places in order to check the underlying macro. This however does not work with (at least recent versions of) MinGW and CodeBlocks, because it does node define WIN32.

This link indicates that this is actually the expected behaviour. The compiler normally defines _WIN32.

What shall we do? I can imagine the following resolutions.

  1. Replace WIN32 to _WIN32 everywhere in the code
  2. Put something like
    #ifdef _WIN32
    #ifndef WIN32
    #define WIN32
    #endif
    #endif
    

into core.h

  1. Have the platform checked by CMAKE and put the WIN32 define conditionally to lemon/config.h (generated from lemon/config.h.in)

We may define LEMON_WIN32 instead of WIN32.

Which option do you prefer?

Note: See TracQuery for help on using queries.