Ticket #3243 (closed defect: fixed)
[with patch; positive review] cygwin -- get it to work on cygwin
| Reported by: | was | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.0.2 |
| Component: | porting: Cygwin | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Wrap log2 in a function so it will work in cygwin. In cygwin log2 is a macro:
sh-3.2$ grep log2 *.h math.h:#define log2(x) (log (x) / M_LOG2_E) math.h:#define log2f(x) (logf (x) / (float) M_LOG2_E)
Attachments
Change History
comment:1 Changed 5 years ago by mabshoff
The same issue pops up on Solaris 9. Solaris 10 is fine.
Cheers,
Michael
Note: See
TracTickets for help on using
tickets.

