Hi Even, On Thu, 29. Nov 2012 at 20:53:57 +0100, Even Rouault wrote: > With latest trunk, you can set the OGR_SETFIELD_NUMERIC_WARNING configruation > option to YES. This should generate a warning if the conversion to int > overflows.
Um, that was meant to produce a warning when a non-numeric (or partly numeric) string is parsed incompletely to a number. Overflows are not yet covered (we don't reset and check errno for ERANGE after the conversion). Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de committ(ed|ing) to Quantum GIS IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
