Opened 15 years ago
Closed 14 years ago
#291 closed defect (fixed)
geos fails with -DNDEBUG
Reported by: | xarth | Owned by: | pramsey |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Build/Install | Version: | 3.1.1 |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
Geos-3.1.1 fails to compile when configured with --disable-cassert. Affected files:
- SegmentIntersector.cpp: missing reference for function int abs(int) (declared in <stdlib.h>)
- XMLTester.cpp: missing reference for function transform(...) (declared in <algorithm>)
Attachments (1)
Change History (4)
by , 15 years ago
Attachment: | geos-3.1.1-missing-includes.patch added |
---|
follow-up: 2 comment:1 by , 14 years ago
I can't reproduce this in 3.1 branch or trunk. The attached patch is also missing the change to XMLTester.cpp noted in the description. I'll apply the patch blind if you can confirm it is complete.
comment:2 by , 14 years ago
Replying to pramsey:
I can't reproduce this in 3.1 branch or trunk. The attached patch is also missing the change to XMLTester.cpp noted in the description.
The patch is complete. It's trac issue that it doesn't show the whole file. If you download it in a raw format, everything is in place.
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
adding missing includes