<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Menlo-Regular;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">MacOS 10.12, xcode 9.2<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I doing ‘git clone’ of master from OSGeo/gdal and running the gdal/ci/travis/osx scripts. The install.sh script terminates because of:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black">plmosaicdataset.cpp:1111:30: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const int' [-Werror,-Wshorten-64-to-32]<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black"> const int nMosaics = json_object_array_length(poMosaics);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black"> ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black">plmosaicdataset.cpp:1419:30: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black"> for(int i = 0; i < json_object_array_length(poItems); i++ )<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black"> ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black">I could fix this with a simple cast, but I don’t know GDAL policy and I wonder how many more there will be if I fix these. Is my environment incorrect, should
I be setting a flag to ignore this type of error? I would think that would be in the script…<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Menlo-Regular;color:black">Thanks for any advice.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Alan Stewart<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Senior Software Engineer<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="color:#C00000">Terra</span></b><b><span style="color:#E36C0A">Go
</span></b><b><span style="color:#C00000">Technologies</span></b><span style="font-family:"Times New Roman",serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">3200 Windy Hill Road, Suite 1550W</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Atlanta, GA 30339 USA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">O. +1 678.391.9615<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><a href="applewebdata://B24C0762-C7C9-4431-8518-ACC915448B89/www.terragotech.com"><span style="color:purple">www.terragotech.com</span></a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>