[gdal-dev] Cannot build for iOS due to GUInt64 error

Nik Sands nik at nixanz.com
Mon Nov 13 16:19:47 PST 2017


No output at all (no errors, no warnings) for that test.

Cheers,
Nik.

(PS.  Re-sent to include the list address)

-----------------------------------------
NIK SANDS
Line Tamer | Time Traveller | Space Cadet

----- Original Message -----
From:
 "Even Rouault" <even.rouault at spatialys.com>

To:
"Nik Sands" <nik at nixanz.com>
Cc:
<gdal-dev at lists.osgeo.org>
Sent:
Mon, 13 Nov 2017 21:40:32 +0100
Subject:
Re: [gdal-dev] Cannot build for iOS due to GUInt64 error

	On mardi 14 novembre 2017 07:30:14 CET Nik Sands wrote: 

	> Hi Even, 

	>  

	> If I include the -Wall option, then I do get just the one warning.
Here’s 

	> the command line I’m using, which is based on similar command
lines from 

	> the make output… 

	>  

	> ------------------------------------ 

	> $ /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -o
conftest -arch 

	> arm64 -pipe -Os -gdwarf-2 -isysroot 

	>
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Deve


	> loper/SDKs/iPhoneOS11.1.sdk -Wno-implicit-function-declaration 

	> -fembed-bitcode -mno-thumb -Wall -arch arm64 -isysroot 

	>
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Deve


	> loper/SDKs/iPhoneOS11.1.sdk conftest.c -ldl conftest.c:1:24:
warning: unused 

	> variable 'off' [-Wunused-variable] int main() { long long off=0; } 

	> ^ 

	> 1 warning generated. 

	> $ 

	  

	And what does the above return if you do it on the following
conftest.c: 

	  

	int main() { long long off=0; (void)off; return 0; } 

	  

	--  

	Spatialys - Geospatial professional services 

	http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171114/fe4c37e4/attachment.html>


More information about the gdal-dev mailing list