[gdal-dev] Use of 'errno' in example

Frank Warmerdam warmerdam at p...
Fri Dec 14 14:44:08 EST 2001


Aleksey wrote:

> Frank,
> 
> I have a small question on the use of 'errno' variable in the documentation
> for the CPLSetErrorHandler() -- it isn't the 'errno' defined in errno.h, is
> it?
> If it isn't, maybe change the name in documentation? It's a small
> inconsistency but would prevent a compiler error as a result of copy & 
> paste
> from there (that's what I did for my error handling function)? Maybe change
> to 'err_no' as in CPLError in cpl_error.h?


Aleksey,

I agree, and have updated the documentation accordingly.

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at p...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent






More information about the Gdal-dev mailing list