Update of /cvsroot/monetdb/geom/src/monetdb5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15501/src/monetdb5
Modified Files:
geom.mx
Log Message:
propagated changes of Wednesday Jun 04 2008 - Thursday Jun 05 2008
from the Geom_0-4 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/04 - stmane: src/lib/libgeom.mx,1.5.4.2 src/monetdb5/geom.mx,1.13.4.3
as suggested by Sjoerd (Thanks!):
use const-declared variable for constant result
instead of casting the result to non-constant variables
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/05 - stmane: src/lib/libgeom.mx,1.5.4.3 src/monetdb5/geom.mx,1.13.4.4
next attempt to fix compilation with gcc 4.3.0 on Gentoo:
declare variables with all type qualifiers, i.e.,
"const GEOS... GOES_DLL"
instead of only
"const GEOS..."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: geom.mx
===================================================================
RCS file: /cvsroot/monetdb/geom/src/monetdb5/geom.mx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- geom.mx 30 May 2008 09:25:17 -0000 1.14
+++ geom.mx 5 Jun 2008 09:10:01 -0000 1.15
@@ -788,7 +788,7 @@
GEOSGeom geosGeometry = wkb2geos(*geom);
if (geosGeometry) {
- GEOSCoordSeq gcs =
(GEOSCoordSeq)GEOSGeom_getCoordSeq(geosGeometry);
+ const GEOSCoordSeq GEOS_DLL gcs =
GEOSGeom_getCoordSeq(geosGeometry);
/* we could also check if geom is a
LineString, LinearRing or Point */
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins