[geos-devel] Fwd: [postgis-devel] 1.3.4SVN Testers Needed

Paul Ramsey pramsey at cleverelephant.ca
Tue Oct 14 11:49:09 EDT 2008


Does anyone have the wherewithal to clean out some build warnings?

Paul


---------- Forwarded message ----------
From: Dane Springmeyer <blake at hailmail.net>
Date: Mon, Oct 13, 2008 at 4:30 PM
Subject: Re: [postgis-devel] 1.3.4SVN Testers Needed
To: PostGIS Development Discussion <postgis-devel at postgis.refractions.net>


Thanks Paul.
Geos builds great now for me on Mac OS 10.5. Only a few warnings
during compile which I'll paste below.
Cheers,
Dane



$ make
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers
-I../../../source/headers/geos -I../../../source/headers -g -O2
-DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT
AbstractPreparedPolygonContains.lo -MD -MP -MF
.deps/AbstractPreparedPolygonContains.Tpo -c
AbstractPreparedPolygonContains.cpp  -fno-common -DPIC -o
.libs/AbstractPreparedPolygonContains.o
../../../source/headers/geos/noding/NodedSegmentString.h: In member
function 'geos::noding::SegmentNode*
geos::noding::NodedSegmentString::addIntersectionNode(geos::geom::Coordinate*,
int)':
../../../source/headers/geos/noding/NodedSegmentString.h:88: warning:
comparison between signed and unsigned integer expressions

[....snip...]

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers
-I../../../source/headers/geos -I../../../source/headers -g -O2
-DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT
IntervalRTreeLeafNode.lo -MD -MP -MF .deps/IntervalRTreeLeafNode.Tpo
-c IntervalRTreeLeafNode.cpp  -fno-common -DPIC -o
.libs/IntervalRTreeLeafNode.o
../../../source/headers/geos/index/intervalrtree/IntervalRTreeLeafNode.h:
In destructor 'virtual
geos::index::intervalrtree::IntervalRTreeLeafNode::~IntervalRTreeLeafNode()':
../../../source/headers/geos/index/intervalrtree/IntervalRTreeLeafNode.h:50:
warning: deleting 'void*' is undefined

[....snip...]

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers
-I../../../source/headers/geos -I../../../source/headers -g -O2
-DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT
SortedPackedIntervalRTree.lo -MD -MP -MF
.deps/SortedPackedIntervalRTree.Tpo -c SortedPackedIntervalRTree.cpp
-fno-common -DPIC -o .libs/SortedPackedIntervalRTree.o
../../../source/headers/geos/index/intervalrtree/IntervalRTreeLeafNode.h:
In destructor 'virtual
geos::index::intervalrtree::IntervalRTreeLeafNode::~IntervalRTreeLeafNode()':
../../../source/headers/geos/index/intervalrtree/IntervalRTreeLeafNode.h:50:
warning: deleting 'void*' is undefined
../../../source/headers/geos/index/intervalrtree/SortedPackedIntervalRTree.h:
In constructor 'geos::index::intervalrtree::SortedPackedIntervalRTree::SortedPackedIntervalRTree()':
../../../source/headers/geos/index/intervalrtree/SortedPackedIntervalRTree.h:53:
warning: 'geos::index::intervalrtree::SortedPackedIntervalRTree::root'
will be initialized after
../../../source/headers/geos/index/intervalrtree/SortedPackedIntervalRTree.h:52:
warning:   'std::vector<const
geos::index::intervalrtree::IntervalRTreeNode*, std::allocator<const
geos::index::intervalrtree::IntervalRTreeNode*> >*
geos::index::intervalrtree::SortedPackedIntervalRTree::leaves'
SortedPackedIntervalRTree.cpp:101: warning:   when initialized here

[....snip...]

g++ -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -o
.libs/XMLTester XMLTester.o MarkupSTL.o -Wl,-bind_at_load
../../source/.libs/libgeos.dylib
creating XMLTester
if g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
-I../../source/headers/geos -I../../source/headers
-I../../source/io/markup    -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic
-Wno-long-long -MT SimpleWKTTester.o -MD -MP -MF
".deps/SimpleWKTTester.Tpo" -c -o SimpleWKTTester.o
SimpleWKTTester.cpp; \
then mv -f ".deps/SimpleWKTTester.Tpo" ".deps/SimpleWKTTester.Po";
else rm -f ".deps/SimpleWKTTester.Tpo"; exit 1; fi
In file included from SimpleWKTTester.cpp:23:
../../source/headers/geos/io.h:62:2: warning: #warning is a GCC extension
../../source/headers/geos/io.h:62:2: warning: #warning *** DEPRECATED:
You are using deprecated header io.h. Please, update your sources
according to new layout of GEOS headers and namespaces
In file included from SimpleWKTTester.cpp:24:
../../source/headers/geos/geom.h:145:2: warning: #warning is a GCC extension
../../source/headers/geos/geom.h:145:2: warning: #warning ***
DEPRECATED: You are using deprecated header geom.h. Please, update
your sources according to new layout of GEOS headers and namespaces


On Oct 13, 2008, at 4:00 PM, Obe, Regina wrote:

Thanks for the prompt service :)


-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net on behalf of Paul Ramsey
Sent: Mon 10/13/2008 6:47 PM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] 1.3.4SVN Testers Needed

Found it. SVN snapshot should build now. (We use 'make dist' to build
the tarball, but that requires that every file be declared in the
build scripts, so they can be packaged up. That new header was not
declared.)

P.

On Mon, Oct 13, 2008 at 2:25 PM, Havard Tveite <havard.tveite at umb.no> wrote:
> Errors at the same place here - Solaris 2.7, gcc 3.3.2:
>
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
> -I../../source/headers/geos
> -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic
> -Wno-long-long
>  -MT CLocalizer.lo -MD -MP -MF .deps/CLocalizer.Tpo -c CLocalizer.cpp  -fPIC
> -DP
> IC -o .libs/CLocalizer.o
> CLocalizer.cpp:1:32: geos/io/CLocalizer.h: No such file or directory
> CLocalizer.cpp:11: error: syntax error before `::' token
> CLocalizer.cpp:18: error: ISO C++ forbids declaration of `setlocale' with no
>   type
> CLocalizer.cpp:18: error: declaration of `setlocale' not in a namespace
>   surrounding `std'
> CLocalizer.cpp:18: error: `int std::setlocale' redeclared as different kind
> of
>   symbol
> /usr/include/locale.h:102: error: previous declaration of `char*
> setlocale(int,
>   const char*)'
> CLocalizer.cpp:18: error: initializer list being treated as compound
> expression
> CLocalizer.cpp:18: error: invalid conversion from `const char*' to `int'
> CLocalizer.cpp:21: error: syntax error before `::' token
> make[2]: *** [CLocalizer.lo] Error 1
> make[2]: Leaving directory `/data3/usr/local/src/geos/geos-3.1.0/source/io'
>
> Håvard Tveite
>
> Dane Springmeyer wrote:
>>
>> Paul,
>>
>> Just tried building GEOS from the provided svn download on Mac 10.5.5
>> and I get this error during make:
>>
>>        then mv -f ".deps/Unload.Tpo" ".deps/Unload.Plo"; else rm -f
>> ".deps/
>> Unload.Tpo"; exit 1; fi
>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/
>> headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -
>> pedantic -Wno-long-long -MT Unload.lo -MD -MP -MF .deps/Unload.Tpo -c
>> Unload.cpp  -fno-common -DPIC -o .libs/Unload.o
>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/
>> headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -
>> pedantic -Wno-long-long -MT Unload.lo -MD -MP -MF .deps/Unload.Tpo -c
>> Unload.cpp -o Unload.o >/dev/null 2>&1
>> if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -
>> I. -I. -I../../source/headers -I../../source/headers/geos -I../../
>> source/headers     -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-
>> long-long -MT CLocalizer.lo -MD -MP -MF ".deps/CLocalizer.Tpo" -c -o
>> CLocalizer.lo CLocalizer.cpp; \
>>        then mv -f ".deps/CLocalizer.Tpo" ".deps/CLocalizer.Plo"; else rm
>> -f
>> ".deps/CLocalizer.Tpo"; exit 1; fi
>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/
>> headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -
>> pedantic -Wno-long-long -MT CLocalizer.lo -MD -MP -MF .deps/
>> CLocalizer.Tpo -c CLocalizer.cpp  -fno-common -DPIC -o .libs/
>> CLocalizer.o
>> CLocalizer.cpp:1:32: error: geos/io/CLocalizer.h: No such file or
>> directory
>> CLocalizer.cpp:11: error: 'CLocalizer' has not been declared
>> CLocalizer.cpp:11: error: ISO C++ forbids declaration of 'CLocalizer'
>> with no type
>> CLocalizer.cpp: In function 'int geos::io::CLocalizer()':
>> CLocalizer.cpp:16: error: 'saved_locale' was not declared in this scope
>> CLocalizer.cpp: At global scope:
>> CLocalizer.cpp:21: error: expected constructor, destructor, or type
>> conversion before '::' token
>> CLocalizer.cpp: In function 'int geos::io::CLocalizer()':
>> CLocalizer.cpp:19: warning: control reaches end of non-void function
>> make[2]: *** [CLocalizer.lo] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive] Error 1
>>
>>
>> I see it must be related to http://trac.osgeo.org/geos/ticket/201
>>
>> Let me know if I'm missing something.
>>
>> Dane
>>
>>
>>
>> On Oct 13, 2008, at 11:57 AM, Paul Ramsey wrote:
>>
>>> 1.3.4 is very close to release, but we can release it faster, with
>>> less intestinal distress, if we get some solid pre-release testing
>>> from folks. You can download the current SVN version directly from the
>>> downloads page, no SVN client required:
>>>
>>> http://postgis.refractions.net/download/postgis-1.3.4SVN.tar.gz
>>>
>>> If you want to also try the latest preparedgeometry enhancements,
>>> you'll need to upgrade your GEOS version to the SVN trunk before
>>> compiling and installing1.3.4SVN,
>>> http://download.osgeo.org/geos/geos-svn.tar.bz2
>>>
>>> Even if you don't, you should see some performance increases in 1.3.4,
>>> particularly in point-and-polygon predicate tests, and large joins
>>> using point-ant-polygon predicates.
>>>
>>> Let us know how it goes. We are particularly  interested in any
>>> compilation difficulties or regression failures on less common unix
>>> variants (Solaris on Sparc, AIX on Power, etc)
>>>
>>> Paul
>>> _______________________________________________
>>> postgis-devel mailing list
>>> postgis-devel at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
> --
> --
> Håvard Tveite
> Department of Mathematical Sciences and Technology
> Norwegian University of Life Sciences
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel


________________________________

The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended solely for the
addressee. If you received this in error, please contact the sender
and delete the material from any computer.

________________________________

Help make the earth a greener place. If at all possible resist
printing this email and join us in saving paper.

_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel


_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel


More information about the geos-devel mailing list