GooString: only export non-inline methods for MSVC builds, not the whole class
As noted in the comment of the patch, exporting the whole class causes duplicated symbols to be exported, and other link issues as can be seen in downstream GDAL project: https://github.com/OSGeo/gdal/issues/5513.
The issue specifically appears on Windows Conda Poppler builds, that build thee 'poppler' library as a shared one (cf https://github.com/conda-forge/poppler-feedstock/blob/127ae45699e7442aee3be4b55f5d1e37fc166658/recipe/exportsymbols.patch#L10)
Corresponding conda-forge/poppler-feedstock ticket: https://github.com/conda-forge/poppler-feedstock/pull/125
Edited by Even Rouault