[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functio
From: |
Mike Frysinger |
Subject: |
Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions |
Date: |
Tue, 16 Feb 2016 23:24:05 -0500 |
On 17 Feb 2016 00:57, Andreas Grünbacher wrote:
> 2016-02-16 21:50 GMT+01:00 Mike Frysinger <address@hidden>:
> > On 16 Feb 2016 23:18, Yury Usishchev wrote:
> >> Ok, the patch is attached.
> >
> > i'm fine with this (although i haven't tested it yet).
> > let's see what Andreas has to say.
>
> This patch looks simple enough, but I really don't want to have the
> ACL_API_EXPORT define in the public headers: it doesn't add anything
> for users, it just makes the header messier to read. An ACL_API_EXPORT
> or similar macro can just as well be added where each function is
> defined, with the same net result.
unfortunately, it cannot. the visibility has to be set on the prototype
so that when other functions see it, gcc knows how to call it and what
optimizations to use.
-mike
signature.asc
Description: Digital signature
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, (continued)
- 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, 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 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 <=
- 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
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Andreas Grünbacher, 2016/02/27
- Re: [Acl-devel] [RFC] Add attribute visibility("default") to API functions, Yury Usishchev, 2016/02/29