| Submitter | Tomi Ollila |
|---|---|
| Date | 2011-10-31 12:01:28 |
| Message ID | <yf67h3lgyjr.fsf@taco2.nixu.fi> |
| Download | mbox | patch |
| Permalink | /patch/1439/ |
| State | New |
| Headers | show |
Comments
On Mon, 31 Oct 2011 14:01:28 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote: > libnotmuch.so.* linking fail on some environments. According to > David Bremner on irc: > "We jump through hoops with the linker script (notmuch.sym) so > the pragmas are not needed. And they are a little bizarre in a > library anyway..." Despite the dubious people referenced, I pushed this patch. ;) d
On Mon 31 Oct 2011 14:07, David Bremner <david@tethera.net> writes: > On Mon, 31 Oct 2011 14:01:28 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote: >> libnotmuch.so.* linking fail on some environments. According to >> David Bremner on irc: >> "We jump through hoops with the linker script (notmuch.sym) so >> the pragmas are not needed. And they are a little bizarre in a >> library anyway..." > > Despite the dubious people referenced, I pushed this patch. I apologize not asking you about the commit message before sending; have to remember discuss privately first next time in similar cases. I did some internet searching to verify that I can agree to the above (but didn't take part of praise/blame for it). > ;) > > d Tomi
Patch
diff --git a/util/xutil.h b/util/xutil.h index 9299256..b84e0e2 100644 --- a/util/xutil.h +++ b/util/xutil.h @@ -25,8 +25,6 @@ #include <sys/types.h> #include <regex.h> -#pragma GCC visibility push(hidden) - /* xutil.c */ void * xcalloc (size_t nmemb, size_t size); @@ -51,6 +49,4 @@ int xregexec (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags); -#pragma GCC visibility pop - #endif