COIN-OR::LEMON - Graph Library

Opened 16 years ago

Closed 16 years ago

#20 closed defect (fixed)

random.h fails to compile on Cygwin

Reported by: Alpar Juttner Owned by: Alpar Juttner
Priority: major Milestone: LEMON 1.0 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description

lemon/random.h fails to compile on Cygwin, because #include<cmath> doesn't define M_E.

This bug appears in [1113f6d12c0c] and also in svn trunk -r3441. In svn trunk similar bugs also appear at other places due to the missing M_X constants.

Change History (2)

comment:1 Changed 16 years ago by Alpar Juttner

Please have a look at this for a possible solution:

http://lime.cs.elte.hu/~alpar/hgwebdir.cgi/lemon/rev/3a6cdebbb855

comment:2 Changed 16 years ago by Alpar Juttner

Resolution: fixed
Status: newclosed

Solved in [a315a588a20d] by adding a header file lemon/math.h containing some useful mathematical constants.

Note: See TracTickets for help on using tickets.