This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".
The branch, master has been updated
via d1de1d4adaadf5b709c646862e7f649bb9179aea (commit)
from db160ae47c151fe037ba686d925652cd4b34fe9f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d1de1d4adaadf5b709c646862e7f649bb9179aea
Author: Lennart Poettering <[email protected]>
Date: Sun Aug 23 07:19:26 2009 +0200
Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Use recent
GCC's diagnostic pragma to override a -Wstrict-prototypes
setting for the symbol list code.
* THANKS: Update.
Signed-off-by: Ralf Wildenhues <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
THANKS | 1 +
libltdl/config/ltmain.m4sh | 4 ++++
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2da01a2..e38a608 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-08-23 Lennart Poettering <[email protected]> (tiny change)
+
+ Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
+ * libltdl/config/ltmain.m4sh (func_generate_dlsyms): Use recent
+ GCC's diagnostic pragma to override a -Wstrict-prototypes
+ setting for the symbol list code.
+ * THANKS: Update.
+
2009-08-23 Ralf Wildenhues <[email protected]>
Remove __oline__ from macros, for less spurious configure diffs.
diff --git a/THANKS b/THANKS
index 70e299d..e976ba8 100644
--- a/THANKS
+++ b/THANKS
@@ -110,6 +110,7 @@
John R. Cary [email protected]
John Wolfe [email protected]
Joseph Beckenbach III [email protected]
+ Lennart Poettering [email protected]
Karl Berry [email protected]
Kenneth Albanowski [email protected]
Kevin Ryde [email protected]
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index ebd3909..9e4cfdb 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1946,6 +1946,10 @@ func_generate_dlsyms ()
extern \"C\" {
#endif
+#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) ||
(__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
/* External symbol declarations for the compiler. */\
"
hooks/post-receive
--
GNU Libtool