[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functio
From: |
Yury Usishchev |
Subject: |
Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions |
Date: |
Tue, 16 Feb 2016 13:52:03 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello Mike!
Mike Frysinger <address@hidden> writes:
> i've merged the header cleanup
Thanks!
> for the visibility, shouldn't configure also add -fvisibility=hidden
> to CFLAGS ?
This sounds reasonable, but there are few ways to implement that.
We can either add
CFLAGS+=" -fvisibility=hidden"
to visibility_hidden.m4
or use AX_APPEND_COMPILE_FLAGS from Autoconf Archive
(http://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html#ax_append_compile_flags)
But in this case we will need to provide AX_REQUIRE_DEFINED,
AX_CHECK_COMPILE_FLAG, AX_APPEND_FLAG and
AX_APPEND_COMPILE_FLAGS.
Or maybe there is another way that I am unaware of :)
Do you have any suggestions on what way to choose?
I attached patch with first approach.
BR,
Yury Usishchev
0001-Add-visibility-default-attribute-for-api-functions.patch
Description: 0001-Add-visibility-default-attribute-for-api-functions.patch
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, (continued)
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/12
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Mike Frysinger, 2016/02/12
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/15
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Mike Frysinger, 2016/02/15
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/15
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Mike Frysinger, 2016/02/15
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/15
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Mike Frysinger, 2016/02/15
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions,
Yury Usishchev <=
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Mike Frysinger, 2016/02/16
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/16
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Mike Frysinger, 2016/02/16
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Andreas Grünbacher, 2016/02/16
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Mike Frysinger, 2016/02/16
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Gribov, 2016/02/17
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Andreas Grünbacher, 2016/02/19
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/24
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Andreas Grünbacher, 2016/02/24
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/26