Opened 18 years ago

Last modified 16 years ago

#60 closed defect (fixed)

Missing <cmath> header in some files

Reported by: mloskot Owned by: strk@…
Priority: major Milestone:
Component: Core Version: 3.0.0
Severity: Content Keywords: imported, phpbugtracker
Cc:

Description (last modified by mloskot)

In a few files <cmath> header is not included but functions like sqrt, ceil, floor etc. are used. So, g++ reports those functions as undeclared entities.

I compiled GEOS using following version of GCC: mloskot@dog:~/dev/geos/_cvs/geos$ g++ --version gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Fixed in patch attached.

Attachments (1)

missing-cmath-mloskot-20060310.3.patch (4.7 KB ) - added by mateusz@… 18 years ago.
Generated with cvs diff -U2

Download all attachments as: .zip

Change History (4)

by mateusz@…, 18 years ago

Generated with cvs diff -U2

comment:1 by strk@…, 18 years ago

Resolution: nonefixed

comment:2 by mloskot, 16 years ago

Description: modified (diff)
Milestone: imported
Priority: 5major
Reporter: changed from mateusz@… to mloskot
Severity: SignificantContent

comment:3 by mloskot, 16 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.