Closed jwsblokland closed 5 months ago
Thanks for reporting this. I have to keep the #if for HAVE_VISIBILITY but that should now never be evaluated if BUILDING_LIBAEC is undefined.
No problem. Your solution looks good to me. Thanks for solving it so quickly.
Hello,
A moment ago, I compiled HDF5 with support for libaec using CMake and I noticed several warning related to libaec regarding the compile definition BUILDING_LIBAEC and HAVE_VISIBILITY in the header file libaec.h:
These defines are not defined in the CMake config libaec-config.cmake resulting in a warning message. It would be better if these defines are been added to the config file. Now looking at it, would it be an option to replace
#if
by#ifdef
. If that is possible no modification of the CMake config file is needed.