libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.6-179-gf4c6323


From: Peter Rosin
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-179-gf4c6323
Date: Fri, 29 Jan 2010 07:54:59 +0000

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  f4c63234c91e88495b082a94cab63bebdb0b2484 (commit)
      from  080e088e42e230d458e18073fef82b6eab01837f (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 f4c63234c91e88495b082a94cab63bebdb0b2484
Author: Peter Rosin <address@hidden>
Date:   Fri Jan 29 08:49:45 2010 +0100

    * tests/loadlibrary.at: Fix C++ issues.
    
    Signed-off-by: Peter Rosin <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    4 ++++
 tests/loadlibrary.at |   16 ++++++++++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9dce6a8..d7af183 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-29  Peter Rosin  <address@hidden>
+
+       * tests/loadlibrary.at: Fix C++ issues.
+
 2010-01-20  Peter Rosin  <address@hidden>
 
        Report proper errors from the loadlibrary loader.
diff --git a/tests/loadlibrary.at b/tests/loadlibrary.at
index 8315a5d..30ebd3a 100644
--- a/tests/loadlibrary.at
+++ b/tests/loadlibrary.at
@@ -54,8 +54,8 @@ main (int argc, char* argv[])
   lt_dlhandle module = NULL;
   const lt_dlvtable *loadlibrary;
   const lt_dlvtable *preopen;
-  lt_dlloader *loader = NULL;
-  lt_dlloader *next;
+  lt_dlloader loader = NULL;
+  lt_dlloader next;
   const lt_dlvtable *vtable;
   void *symbol;
   const char *error;
@@ -168,6 +168,9 @@ cleanup:
 
 AT_DATA([foomod.c],
 [[
+#ifdef __cplusplus
+extern "C"
+#endif
 int foosym (void);
 int
 foosym (void)
@@ -178,6 +181,9 @@ foosym (void)
 
 AT_DATA([bardep.c],
 [[
+#ifdef __cplusplus
+extern "C"
+#endif
 int bardep (void);
 int
 bardep (void)
@@ -188,8 +194,14 @@ bardep (void)
 
 AT_DATA([barmod.c],
 [[
+#ifdef __cplusplus
+extern "C" {
+#endif
 int bardep (void);
 int barsym (void);
+#ifdef __cplusplus
+}
+#endif
 int
 barsym (void)
 {


hooks/post-receive
-- 
GNU Libtool




reply via email to

[Prev in Thread] Current Thread [Next in Thread]