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  <egg...@cs.ucla.edu>
+
+    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  <b...@cs.stanford.edu>
 
     * 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



Reply via email to