|
From: <ai...@us...> - 2008-09-09 02:36:45
|
Revision: 8755
http://plplot.svn.sourceforge.net/plplot/?rev=8755&view=rev
Author: airwin
Date: 2008-09-09 02:36:56 +0000 (Tue, 09 Sep 2008)
Log Message:
-----------
Get rid of #pragma visibility settings for now using #if 0 since it doesn't
seem to work reliably for the "(hidden)" case, and there are issues with the
placement of the #pragma statements. For now debug Linux/gcc visibility
issues using the gcc compiler option -fvisibility=hidden (which does seem to
work reliably), but we may return to the #pragma approach later.
Modified Paths:
--------------
trunk/include/plplot.h
Modified: trunk/include/plplot.h
===================================================================
--- trunk/include/plplot.h 2008-09-09 02:29:12 UTC (rev 8754)
+++ trunk/include/plplot.h 2008-09-09 02:36:56 UTC (rev 8755)
@@ -90,6 +90,7 @@
#endif
#endif
+#if 0
#if defined(__GNUC__) && __GNUC__ > 3
/* If gcc 4.x, then turn off all visibility of symbols unless
* specified as visible using PLDLLIMPEXP. */
@@ -97,6 +98,7 @@
/* temporary until issues with above hidden can be sorted out */
#pragma GCC visibility push(default)
#endif
+#endif
/* Make sure Unix systems define "__unix" */
#if defined(SX) || /* NEC Super-UX */ \
@@ -1849,8 +1851,10 @@
#ifdef __cplusplus
}
#endif
+#if 0
#if defined(__GNUC__) && __GNUC__ > 3
#pragma GCC visibility pop
#endif
+#endif
#endif /* __PLPLOT_H__ */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|