<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 10/05/2022 à 12:24, Sandro Mani a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:9a8e4a78-c86e-ed45-8603-10014bd4abe1@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hi Even</p>
      <p>Thanks, that error appears to be fixed. Now I'm hitting</p>
      <p><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;"><span
              style="font-family:monospace"><span
                style="color:#000000;background-color:#ffffff;">cd
/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/build_win32/frmts/pcidsk/sdk
                && /usr/lib64/ccache/i686-w64-mingw32-g++
                -DDONT_DEPRECATE_SPRINTF -DGDAL_CMAKE_BUILD
                -DGDAL_COMPILATION -DHAVE_AVX_AT_</span><br>
              COMPILE_TIME -DHAVE_LIBJPEG -DHAVE_SSE_AT_COMPILE_TIME
              -DHAVE_SSSE3_AT_COMPILE_TIME
              @CMakeFiles/pcidsk_sdk.dir/includes_CXX.rsp -O2 -g -pipe
              -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-b<br>
              uffer-size=4 -fvisibility=hidden -Os -std=gnu++11 -MD -MT
frmts/pcidsk/sdk/CMakeFiles/pcidsk_sdk.dir/blockdir/binarytiledir.cpp.obj
              -MF
              CMakeFiles/pcidsk_sdk.dir/blockdir/binarytiledir.cpp.obj.d
              -o<br>
              CMakeFiles/pcidsk_sdk.dir/blockdir/binarytiledir.cpp.obj
              -c
/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/frmts/pcidsk/sdk/blockdir/binarytiledir.cpp
              <br>
/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/frmts/pcidsk/sdk/blockdir/binarytiledir.cpp:
              In static member function 'static size_t
              PCIDSK::BinaryTileDir::GetOptimizedDirSize(PCIDSK::BlockFile*)':
              <br>
/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/frmts/pcidsk/sdk/blockdir/binarytiledir.cpp:115:25:
              error: 'numeric_limits' is not a member of 'std'</span><span
              style="font-family:monospace"></span></span><br>
          <br>
          and subsequent related errors, which is odd because </span><span
          style="font-family:monospace">binarytiledir.cpp has #include
          <limits></span></p>
    </blockquote>
    <p>Are you sure you use rc3 ?</p>
    <p>Line 115 in the error message would suggest that you don't have
      rc3, since the call to std::numeric_limits is now at line 116 with
      the addition of #include <limits></p>
    <p>I've just quickly tried mingw32-cmake in a fedora:rawhide Docker
      and can build the pcidsk driver on master</p>
    <p>Even<br>
    </p>
    <blockquote type="cite"
      cite="mid:9a8e4a78-c86e-ed45-8603-10014bd4abe1@gmail.com">
      <p>Sandro<br>
        <span style="font-family:monospace"></span></p>
      <div class="moz-cite-prefix">On 10.05.22 12:01, Even Rouault
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:da7a0435-897a-e6e7-88eb-79ae4f70b176@spatialys.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <p>Sandro,</p>
        <p>can you check if <a class="moz-txt-link-freetext"
            href="https://github.com/OSGeo/gdal/pull/5698"
            moz-do-not-send="true">https://github.com/OSGeo/gdal/pull/5698</a>
          fixes your issue ?</p>
        <p>Even<br>
        </p>
        <div class="moz-cite-prefix">Le 10/05/2022 à 11:48, Sandro Mani
          a écrit :<br>
        </div>
        <blockquote type="cite"
          cite="mid:4716b20f-7fd1-c3cf-b8fa-d27d6400da94@gmail.com">
          <p>Hi</p>
          <p>Testing RC3 on Fedora rawhide, the native build with cmake
            build fine. The mingw build OTOH fails with</p>
          <p>/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/port/cpl_vsil_s3.cpp:4556:29:
            error: invalid user-defined conversion from 'const
            cpl::IVSIS3LikeFSHandler::Sync(const char*, const char*,
            const char* const*, GDALProgressFunc, void*,
            char***)::<lambda(void*)>::<lambda(double, const
            char*, void*)>' to 'GDALProgressFunc' {aka 'int
            (__attribute__((stdcall)) *)(double, const char*, void*)'}
            [-fpermissive]<br>
             4556 |                             progressFunc,
            &progressData) )<br>
                  |                             ^~~~~~~~~~~~<br>
/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/port/cpl_vsil_s3.cpp:4473:39:
            note: candidate is: 'cpl::IVSIS3LikeFSHandler::Sync(const
            char*, const char*, const char* const*, GDALProgressFunc,
            void*, char***)::<lambda(void*)>::<lambda(double,
            const char*, void*)>::operator int (*)(double, const
            char*, void*)() const' (near match)<br>
             4473 |             const auto progressFunc = [](double pct,
            const char*, void* pProgressDataIn)<br>
                  |                                       ^<br>
/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/port/cpl_vsil_s3.cpp:4473:39:
            note:   no known conversion from 'int (*)(double, const
            char*, void*)' to 'GDALProgressFunc' {aka 'int
            (__attribute__((stdcall)) *)(double, const char*, void*)'}<br>
/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/port/cpl_vsil_s3.cpp:3529:39:
            note:   initializing argument 6 of 'bool
            cpl::IVSIS3LikeFSHandler::CopyFileA(VSILFILE*, vsi_l_offset,
            const char*, const char*, CSLConstList, GDALProgressFunc,
            void*)'<br>
             3529 |                      GDALProgressFunc pProgressFunc,<br>
                  |                      ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~<br>
            make[2]: *** [port/CMakeFiles/cpl.dir/build.make:1010:
            port/CMakeFiles/cpl.dir/cpl_vsil_s3.cpp.obj] Error 1<br>
            make[2]: Leaving directory
            '/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/build_win32'<br>
            make[2]: *** Waiting for unfinished jobs....<br>
            make[2]: Entering directory
            '/home/sandro/rpmbuild/BUILD/gdal-3.5.0-fedora/build_win32'<br>
          </p>
          <p>I'm investigating.</p>
          <p>Thanks<br>
            Sandro<br>
          </p>
          <div class="moz-cite-prefix">On 10.05.22 00:27, Sean Gillies
            wrote:<br>
          </div>
          <blockquote type="cite"
cite="mid:CAOodmJpPA1AvxyuUwXbU0oJYhAS=88vsOoE1vaPS-iYm0ek1Dw@mail.gmail.com">
            <div dir="ltr">
              <div dir="ltr">Thanks, Even. RC3 compiles and I don't see
                any regressions from rasterio's perspective. Looking
                forward to the new release!<br>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Mon, May 9, 2022 at
                  1:30 PM Even Rouault <<a
                    href="mailto:even.rouault@spatialys.com"
                    class="moz-txt-link-freetext" moz-do-not-send="true">even.rouault@spatialys.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote">
                  <div>
                    <p>Sean,</p>
                    <p>I've issue a rc3 with a fix for that issue:</p>
                    <p>   <a
                        href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc3.tar.xz"
                        target="_blank" class="moz-txt-link-freetext"
                        moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc3.tar.xz</a><br>
                         <a
                        href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc3.tar.gz"
                        target="_blank" class="moz-txt-link-freetext"
                        moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc3.tar.gz</a><br>
                         <a
                        href="https://download.osgeo.org/gdal/3.5.0/gdal350rc3.zip"
                        target="_blank" class="moz-txt-link-freetext"
                        moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal350rc3.zip</a></p>
                    <p>Even<br>
                    </p>
                    <div>Le 09/05/2022 à 20:47, Sean Gillies a écrit :<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div>Hi Even,</div>
                          <div><br>
                          </div>
                          <div>I'm still using the legacy configure
                            script and have found that ogrmvtdataset.cpp
                            doesn't compile on my system due to</div>
                          <div><br>
                          </div>
                          <div>In file included from
                            ogrmvtdataset.cpp:43:<br>
                          </div>
                          <div>.../ogr_geos.h:40:12: fatal error:
                            geos_c.h: No such file or directory</div>
                          <div><br>
                          </div>
                          <div>This is GDAL 3.5.0rc2. I haven't tried
                            the earlier pre-releases. GDAL 3.4.3
                            compiled and installed on the same computer
                            using the same script, which is:</div>
                          <div><br>
                          </div>
                          <div>LD_LIBRARY_PATH=/home/seangillies/local/lib
                            ./configure --prefix=/home/seangillies/local
                            --with-curl
                            --with-geos=/home/seangillies/local/bin/geos-config
                            --with-proj=/home/seangillies/local</div>
                          <div><br>
                          </div>
                        </div>
                        <br>
                        <div class="gmail_quote">
                          <div dir="ltr" class="gmail_attr">On Mon, May
                            9, 2022 at 3:48 AM Even Rouault <<a
                              href="mailto:even.rouault@spatialys.com"
                              target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">even.rouault@spatialys.com</a>>
                            wrote:<br>
                          </div>
                          <blockquote class="gmail_quote">Hi,<br>
                            <br>
                            I've issued a RC2 with the following
                            changes:<br>
                            <br>
                            - CMake: fix build of NITF driver if
                            rebuilding after disabling JPEG driver<br>
                            <br>
                            - port/cpl_recode_iconv.cpp: fix invalid
                            cast error with uclibc (#5684)<br>
                            <br>
                            - PNG: report cause when unable to create
                            file<br>
                            <br>
                            - PCIDSK: fix build on 32-bit architectures
                            on Debian (fixes #5694)<br>
                            <br>
                            - TileDB: compiler warning fix on 32bit<br>
                            <br>
                            - ogr2ogr: avoid potential nullptr deref
                            (CID 1488679)<br>
                            <br>
                            - netCDF: add support for writing/reading
                            geolocation array without a <br>
                            grid_mapping variable<br>
                            <br>
                            Updated archives:<br>
                            <br>
                               <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc2.tar.xz"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc2.tar.xz</a><br>
                               <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc2.tar.gz"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc2.tar.gz</a><br>
                               <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdal350rc2.zip"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal350rc2.zip</a><br>
                            <a
href="https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc2.tar.gz"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc2.tar.gz</a><br>
                               <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc2.zip"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc2.zip</a><br>
                            <br>
                            Even<br>
                            <br>
                            Le 06/05/2022 à 15:06, Even Rouault a
                            écrit :<br>
                            > Hi,<br>
                            ><br>
                            > I have prepared a GDAL/OGR 3.5.0
                            release candidate.<br>
                            ><br>
                            > NEWS at:<br>
                            ><br>
                            >   <a
                              href="https://github.com/OSGeo/gdal/blob/v3.5.0RC1/NEWS.md"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://github.com/OSGeo/gdal/blob/v3.5.0RC1/NEWS.md</a><br>
                            ><br>
                            > Note the first item about the new CMake
                            build system, and the <br>
                            > deprecation of the autoconf & nmake
                            build systems that will be removed <br>
                            > in GDAL 3.6.0<br>
                            ><br>
                            > Pick up an archive among the following
                            ones (by ascending size):<br>
                            ><br>
                            >   <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.xz"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.xz</a><br>
                            >   <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.gz"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.gz</a><br>
                            >   <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdal350rc1.zip"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal350rc1.zip</a><br>
                            ><br>
                            > A snapshot of the gdalautotest suite is
                            also available :<br>
                            ><br>
                            > <a
href="https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.tar.gz"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.tar.gz</a><br>
                            >   <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.zip"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.zip</a><br>
                            ><br>
                            > A snapshot of the documentation is at:<br>
                            ><br>
                            >   <a
                              href="https://download.osgeo.org/gdal/3.5.0/gdal350doc.zip"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://download.osgeo.org/gdal/3.5.0/gdal350doc.zip</a><br>
                            ><br>
                            > The GDAL-GRASS plugin sources and
                            release process has been moved to <br>
                            > <a
                              href="https://github.com/OSGeo/gdal-grass"
                              rel="noreferrer" target="_blank"
                              class="moz-txt-link-freetext"
                              moz-do-not-send="true">https://github.com/OSGeo/gdal-grass</a><br>
                            ><br>
                            > I'll call for a vote promoting it to
                            next week if no serious problems <br>
                            > are reported before.<br>
                            ><br>
                            > The "release/3.5" branch has been
                            created for all bug fixes related to <br>
                            > 3.5.x. master is now targetting
                            3.6.0dev.<br>
                            ><br>
                            > Best regards,<br>
                            ><br>
                            > Even<br>
                            ><br>
                            <br>
                          </blockquote>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </blockquote>
              </div>
              <br>
              <br>
              -- <br>
              <div dir="ltr" class="gmail_signature">Sean Gillies</div>
            </div>
            <br>
            <fieldset class="moz-mime-attachment-header"></fieldset>
            <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
          </blockquote>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
        </blockquote>
        <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
      </blockquote>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>