bug-m4
[Top][All Lists]
Advanced

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

[PATCH] Update after gnulib changed.


From: Bruno Haible
Subject: [PATCH] Update after gnulib changed.
Date: Sat, 04 Jul 2020 10:34:09 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-179-generic; KDE/5.18.0; x86_64; ; )

Gnulib made an incompatible change. (Yes, this happens occasionally.)
m4 needs the attached patch in order to avoid compilation errors:

  CC       macro.o
  CC       output.o
output.c: In function 'm4_tmpfile':
output.c:228:10: error: too few arguments to function 'fopen_temp'
   file = fopen_temp (name, O_BINARY ? "wb+" : "w+");
          ^
In file included from m4.h:39:0,
                 from output.c:22:
../lib/clean-temp.h:125:15: note: declared here
 extern FILE * fopen_temp (const char *file_name, const char *mode,
               ^
output.c: In function 'm4_tmpopen':
output.c:270:10: error: too few arguments to function 'fopen_temp'
   file = fopen_temp (name, O_BINARY ? "rb+" : "r+");
          ^
In file included from m4.h:39:0,
                 from output.c:22:
../lib/clean-temp.h:125:15: note: declared here
 extern FILE * fopen_temp (const char *file_name, const char *mode,
               ^
Makefile:1863: recipe for target 'output.o' failed
make[2]: *** [output.o] Error 1

Attachment: 0001-Update-after-gnulib-changed.patch
Description: Text Data


reply via email to

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