unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] remove GCC visibility pragmas
@ 2011-10-31 12:01 Tomi Ollila
  2011-10-31 12:07 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: Tomi Ollila @ 2011-10-31 12:01 UTC (permalink / raw
  To: notmuch

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..."
---
 util/xutil.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

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
-- 
1.7.6.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-31 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-31 12:01 [PATCH] remove GCC visibility pragmas Tomi Ollila
2011-10-31 12:07 ` David Bremner
2011-10-31 12:19   ` Tomi Ollila

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).