[gdal-dev] GDAL 2.2.0 beta 1 available

Marco Atzeri marco.atzeri at gmail.com
Sun Apr 16 02:20:07 PDT 2017


On 14/04/2017 10:10, Even Rouault wrote:
> Hi,
>
>
>
> I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially
> be followed by a second beta, or directly by a RC1 if things go well.
> The source is available at:
[cut]
> Even
>

On cygwin, I hit a poor choice of variable name.

------------------------------------------
make[2]: Leaving directory 
'/cygdrive/e/cyg_pub/devel/gdal/prova/gdal-2.2.0-0.1.
x86_64/build/frmts/webp'
In file included from 
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/limits.h:168:0
,
                  from 
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/syslimits.h:7,
                  from 
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/limits.h:34,
                  from 
/cygdrive/e/cyg_pub/devel/gdal/prova/gdal-2.2.0-0.1.x86_64
/build/port/cpl_port.h:143,
                  from 
/cygdrive/e/cyg_pub/devel/gdal/prova/gdal-2.2.0-0.1.x86_64
/build/port/cpl_conv.h:35,
                  from ogrosmdatasource.cpp:29:
ogrosmdatasource.cpp:102:18: error: expected unqualified-id before 
numeric const
ant
  static const int PAGE_SIZE = 4096;
---------------------------------------------


as on /usr/include/limits.h we have

/* Size in bytes of a page. */
#undef PAGESIZE
#undef PAGE_SIZE
#define PAGESIZE 65536
#define PAGE_SIZE PAGESIZE


on 2.1.3 there was no isses, as I see

/* Must be a multiple of both BUCKET_BITMAP_SIZE and 
BUCKET_SECTOR_SIZE_ARRAY_SIZE */
#define PAGE_SIZE   4096

that was not causing issues.

Regards
Marco





More information about the gdal-dev mailing list