[Fwd: Re: new raster code]

Jonathan Coles jonathan at jpcoles.com
Fri Jan 21 14:55:30 CET 2005


-------- Weitergeleitete Nachricht --------
> Von: Bernhard Reiter <bernhard at intevation.de>
> An: Jonathan Coles <jonathan at jpcoles.com>
> Betreff: Re: new raster code
> Datum: Thu, 20 Jan 2005 21:35:32 +0100

> Thanks for the answers below, can I forward them to the list?
> Or do you want to do it?
> 
> I guess it just makes more sense to answer them on the list so we
> have it documented and other people can also comment on your
> comments.


> 
> On Thu, Jan 20, 2005 at 02:56:57PM -0500, Jonathan Coles wrote:
> > Am Donnerstag, den 20.01.2005, 20:51 +0100 schrieb Bernhard Reiter:
> > > Why is the CPLError function commented out here?
> > > if ( err )
> > >      {
> > > -        CPLError( CE_Failure, err, "" );
> > > +        //CPLError( CE_Failure, err, "%s\n", CPLGetLastErrorMsg()
> > > );
> > >          return NULL;
> > >      }
> > 
> > as far as i could tell, it wasn't being printed, and the error message
> > is passed up to thuban as an exception message any way.
> 
> 
> On Thu, Jan 20, 2005 at 03:13:55PM -0500, Jonathan Coles wrote:
> > Am Donnerstag, den 20.01.2005, 21:05 +0100 schrieb Bernhard Reiter:
> > > Got a warning while compiling:
> > > 	building 'Lib.gdalwarp' extension
> > > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
> > > -Wstrict-prototypes -fPIC -I/usr/include -Ilibraries/thuban/
> > > -I/usr/include/python2.3 -c libraries/thuban/gdalwarp.cpp -o
> > > build/temp.linux-ppc-2.3/libraries/thuban/gdalwarp.o
> > > libraries/thuban/gdalwarp.cpp: In Funktion »CPLErr
> > > GetImageData(GDALDataset*,
> > >    unsigned char**, unsigned int*)«:
> > > libraries/thuban/gdalwarp.cpp:209: Warnung: unused variable `int
> > > nWordSize'
> > 
> > it is, indeed, unused. i have already fixed this in revisions since the
> > patches i sent you.

-- 
=====================================================================
 Jonathan Coles                               http://www.jpcoles.com
 jonathan at jpcoles.com                    GnuPG Key: /gpg_pub_key.asc
=====================================================================




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)