[gdal-dev] Can't compile 1.11.0 for iOS with 'expected statement' error for gdalgrid.cpp

Even Rouault even.rouault at mines-paris.org
Thu Jul 10 04:35:46 PDT 2014


Selon Nik Sands <nixanz at nixanz.com>:

> PS.  (This always happens just AFTER I send to the list, no matter how long I
> mull it over first...)
>
> Actually, I think I see the issue now.  The closing bracket is the end of an
> "if ()" stanza in which there is no content at all if neither
> 'HAVE_AVX_AT_COMPILE_TIME' or 'HAVE_SSE_AT_COMPILE_TIME' are defined, which
> must be the case in my situation.
>
> I guess I could either delete the entire stanza, or add in a statement that
> does nothing useful.
>
> Anyhow, I thought you guys should know this situation exists so that you may
> be able to deal with it yourselves for some future release.  :-)

Fixed per http://trac.osgeo.org/gdal/ticket/5566

In fact the error was when HAVE_AVX_AT_COMPILE_TIME is available but not
HAVE_SSE_AT_COMPILE_TIME. Which shouldn't happen normally. So I guess there's an
issue in the SSE detection case with that enivronment.

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list