Re: [Podofo-users] Visibility support checking in the build (was: exported symbols)

2018-02-13 Thread zyx
On Mon, 2018-02-12 at 12:00 +0100, zyx wrote: > -fvisibility=hidden Hi, I just recalled, the above is not the best thing to be done. The right approach is to use CMake, with the visibility variables: https://cmake.org/cmake/help/v3.1/prop_tgt/LANG_VISIBILITY_PRESET.html https://cma

Re: [Podofo-users] Visibility support checking in the build (was: exported symbols)

2018-02-12 Thread zyx
On Sat, 2018-02-10 at 22:47 +0100, Matthew Brincke wrote: > [ typo fixes in quoted text ] [ not changing history, not feeling good to correct anyone for any typos, due to being humans, which can make mistakes ] > I still hope that won't be necessary (@Dom or zyx: could you please > put the featur

Re: [Podofo-users] Visibility support checking in the build (was: exported symbols)

2018-02-11 Thread Mattia Rizzolo
On Sat, Feb 10, 2018 at 10:47:41PM +0100, Matthew Brincke wrote: > The CMake variable to set to express visibility support is now the unset > PODOFO_HAVE_GCC_SYMBOL_VISIBILITY ("GCC" means "GCC-compatible" here). > This variable should be set by a feature test in the CMakeLists.txt which > I'm sorr