autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.68-101-


From: Paul Eggert
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.68-101-gb854606
Date: Thu, 08 Dec 2011 06:41:41 +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 Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=b854606885ca849e0b5a1488b6dc82105d3c138d

The branch, master has been updated
       via  b854606885ca849e0b5a1488b6dc82105d3c138d (commit)
      from  a8942db4d787ec19033e143151d79c5f2dac4046 (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 b854606885ca849e0b5a1488b6dc82105d3c138d
Author: Paul Eggert <address@hidden>
Date:   Wed Dec 7 22:41:04 2011 -0800

    AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings
    
    * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use the
    array as well as setting it, to pacify g++.  Reported by
    Werner Lemberg in
    <http://lists.gnu.org/archive/html/autoconf/2011-12/msg00005.html>.

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

Summary of changes:
 ChangeLog         |    8 ++++++++
 lib/autoconf/c.m4 |    3 ++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f9f4b90..0f67f89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-12-07  Paul Eggert  <address@hidden>
+
+       AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings
+       * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use the
+       array as well as setting it, to pacify g++.  Reported by
+       Werner Lemberg in
+       <http://lists.gnu.org/archive/html/autoconf/2011-12/msg00005.html>.
+
 2011-12-05  Paul Eggert  <address@hidden>
 
        doc: document GNU make's \#
diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index 88785d1..0fdf9dd 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -190,7 +190,8 @@ choke me
 # errors with `-W error'.
 m4_define([AC_LANG_BOOL_COMPILE_TRY(C)],
 [AC_LANG_PROGRAM([$1], [static int test_array @<:@1 - 2 * !($2)@:>@;
-test_array @<:@0@:>@ = 0
+test_array @<:@0@:>@ = 0;
+return test_array @<:@0@:>@;
 ])])
 
 


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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