[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1rc2-10-g3cbe6a0

mysql vizuser noreply at mpich.org
Thu Nov 21 18:09:33 CST 2013

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 "MPICH primary repository".

The branch, master has been updated
       via  3cbe6a0ef79c02fc4cf8c2695789359bec07d6cd (commit)
      from  9fd89d376481a344dba1203d70fa432605b309ed (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 3cbe6a0ef79c02fc4cf8c2695789359bec07d6cd
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Thu Nov 21 18:08:54 2013 -0600

    Revert "correct alias option test for weak attributes"
    This reverts commit 9fd89d376481a344dba1203d70fa432605b309ed.

diff --git a/confdb/aclocal_cc.m4 b/confdb/aclocal_cc.m4
index 5a9b270..1e5e87d 100644
--- a/confdb/aclocal_cc.m4
+++ b/confdb/aclocal_cc.m4
@@ -361,8 +361,7 @@ pac_cv_attr_weak_import=yes,pac_cv_attr_weak_import=no)])
 # Check if the alias option for weak attributes is allowed
 AC_CACHE_CHECK([whether __attribute__((weak,alias(...))) allowed],
-AC_TRY_LINK([void __foo(int c) {}
-void foo(int c) __attribute__((weak,alias("__foo")));],[foo(0);],
+AC_TRY_COMPILE([int foo(int) __attribute__((weak,alias("__foo")));],[int a;],
 if test "$pac_cv_attr_weak_alias" = "yes" ; then
     AC_DEFINE(HAVE_WEAK_ATTRIBUTE,1,[Attribute style weak pragma])


Summary of changes:
 confdb/aclocal_cc.m4 |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

MPICH primary repository

More information about the commits mailing list