]> granicus.if.org Git - gc/commit
Fix 'visibility attribute not supported' GCC warning (IBM AIX)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 2 Sep 2015 08:52:30 +0000 (11:52 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 2 Sep 2015 08:52:30 +0000 (11:52 +0300)
commit60db5e97e8c61652f9b29b201832eaadd18f1dfc
treed8273c3eac5322e7c34804be41e14c5de3030090
parentf838fe459346178c3a5ce4ad1a50a2584586d403
Fix 'visibility attribute not supported' GCC warning (IBM AIX)

* configure.ac (enable_shared): Add -D GC_NO_VISIBILITY to CFLAGS if
not ac_cv_fvisibility_hidden.
* include/cord.h (CORD_API): Do not use visibility attribute if
GC_NO_VISIBILITY.
* include/gc_config_macros.h (GC_API): Likewise.
* include/private/gc_priv.h (GC_INNER, GC_API_OSCALL): Likewise.
configure.ac
include/cord.h
include/gc_config_macros.h
include/private/gc_priv.h