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
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev