<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">In vcpkg, x64-windows means MSVC.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">And even in the visibility world, you
      can find libs that get it wrong when the attention is exclusively
      on shared libs.</div>
    <div class="moz-cite-prefix">(Studying the proposed libspatialite
      patch, I believe I spotted different defaults for visibility in
      different chunks. Needs more investigation...)<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Am 10.12.25 um 19:02 schrieb Andrew
      Bell:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACJ51z1dcRuCeXxWo+mrCUxLrdYznzqViG-_2yVWfe-PayXE1g@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote gmail_quote_container">
          <div dir="ltr" class="gmail_attr">On Wed, Dec 10, 2025 at
            12:55 PM Kai Pastor, DG0YT via gdal-dev <<a
              href="mailto:gdal-dev@lists.osgeo.org"
              moz-do-not-send="true" class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote">
            <div>
              <div>Am 10.12.25 um 17:09 schrieb Andrew Bell via
                gdal-dev:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Hi,
                  <div><br>
                  </div>
                  <div>All symbols that aren't specifically exported
                    should be hidden if when you build the flag
                    "-fvisibility=hidden" is set. See
                    cmake/helpers/configure.cmake.</div>
                </div>
              </blockquote>
              <p>I don't think this will help with MSVC and its
                dllexport declarations.<br>
              </p>
            </div>
          </blockquote>
          <div><br>
            I don't know that this is MSVC. I thought it was a GCC build
            on Windows, but regardless, things are essentially the same
            (on Windows you *must* export all the symbols you want
            visible). I don't know spatialite, but there should be some
            sort of DLL marker (like CPL_DLL in GDAL) that can be turned
            off when building a static library that you then link into
            GDAL.<br>
            <br>
            This may be helpful:<br>
            <br>
            <a href="https://gcc.gnu.org/wiki/Visibility"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://gcc.gnu.org/wiki/Visibility</a><br>
            <br>
          </div>
        </div>
        <span class="gmail_signature_prefix">-- </span><br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div>Andrew Bell</div>
            <a href="mailto:andrew.bell.ia@gmail.com" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">andrew.bell.ia@gmail.com</a></div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>