gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. f3765fba6524654abd19f3b


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. f3765fba6524654abd19f3be4772a4af32878a6d
Date: Fri, 20 May 2011 08:04:33 +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 "gawk".

The branch, master has been updated
       via  f3765fba6524654abd19f3be4772a4af32878a6d (commit)
      from  57059e6b3b4dd8829015b70cffbd8f3b414a5f6d (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=f3765fba6524654abd19f3be4772a4af32878a6d

commit f3765fba6524654abd19f3be4772a4af32878a6d
Author: Arnold D. Robbins <address@hidden>
Date:   Fri May 20 11:01:19 2011 +0300

    Compilation fix in regex.

diff --git a/ChangeLog b/ChangeLog
index 6332274..da06731 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 20 11:00:17 2011  Arnold D. Robbins  <address@hidden>
+
+       * regex_internal.h (__attribute_warn_unused_result__): Always
+       ifdef out. Bleah.
+
 Thu May 19 17:13:18 2011  Arnold D. Robbins  <address@hidden>
 
        * Release 3.1.83: Second beta test tar ball for 4.0.
diff --git a/regex_internal.h b/regex_internal.h
index 926f4fe..26b8abe 100644
--- a/regex_internal.h
+++ b/regex_internal.h
@@ -161,6 +161,14 @@ is_blank (int c)
 # define __attribute(arg) __attribute__ (arg)
 #else
 # define __attribute(arg)
+#endif
+
+#ifdef GAWK
+/*
+ * Instead of trying to figure out which GCC version introduced
+ * this symbol, just define it out and be done.
+ */
+# undef __attribute_warn_unused_result__
 # define __attribute_warn_unused_result__
 #endif
 

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

Summary of changes:
 ChangeLog        |    5 +++++
 regex_internal.h |    8 ++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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