[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error.c and _GL_ATTRIBUTE_FORMAT_PRINTF
From: |
Paul Eggert |
Subject: |
Re: error.c and _GL_ATTRIBUTE_FORMAT_PRINTF |
Date: |
Thu, 21 Nov 2013 12:14:03 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 11/21/2013 11:01 AM, Nikos Mavrogiannopoulos wrote:
> It seems that error.c uses _GL_ATTRIBUTE_FORMAT_PRINTF but it doesn't
> depend on anything that defines it.
Thanks, I pushed the following patch; does it fix things for you?
---
ChangeLog | 7 +++++++
modules/error | 1 +
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index aa5c36f..3567503 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-21 Paul Eggert <address@hidden>
+
+ error: depend on stdio
+ Problem reported by Nikos Mavrogiannopoulos in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00084.html>
+ * modules/error (Depends-on): Add stdio.
+
2013-11-18 Ben Pfaff <address@hidden>
* doc/relocatable-maint.texi (Supporting Relocation): Improve
diff --git a/modules/error b/modules/error
index f867617..c78e7fe 100644
--- a/modules/error
+++ b/modules/error
@@ -12,6 +12,7 @@ lib/error.c
m4/error.m4
Depends-on:
+stdio [test $ac_cv_lib_error_at_line = no]
strerror [test $ac_cv_lib_error_at_line = no]
unistd [test $ac_cv_lib_error_at_line = no]
msvc-nothrow [test $ac_cv_lib_error_at_line = no]
--
1.8.3.1