X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9bd045b24aca5cfd6206a6b5f0883a498716ba3..550a0c4154294e56c61ce933f905040d65be78cf:/build/aclocal/visibility.m4 diff --git a/build/aclocal/visibility.m4 b/build/aclocal/visibility.m4 index 52c97f9c8e..05f9b80dec 100644 --- a/build/aclocal/visibility.m4 +++ b/build/aclocal/visibility.m4 @@ -49,6 +49,11 @@ AC_DEFUN([WX_VISIBILITY], error this platform has no visibility; #endif + /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */ + #if defined(__clang__) + clang compiler is still broken w.r.t. visibility; + #endif + extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);