emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#74288: closed ([PATCH] tests: Fix gremlin.scm for GCC 14)


From: GNU bug Tracking System
Subject: bug#74288: closed ([PATCH] tests: Fix gremlin.scm for GCC 14)
Date: Tue, 12 Nov 2024 22:44:01 +0000

Your message dated Tue, 12 Nov 2024 23:40:46 +0100
with message-id <87jzd8rs7l.fsf@gnu.org>
and subject line Re: [bug#74288] [PATCH] tests: Fix gremlin.scm for GCC 14
has caused the debbugs.gnu.org bug report #74288,
regarding [PATCH] tests: Fix gremlin.scm for GCC 14
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
74288: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74288
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] tests: Fix gremlin.scm for GCC 14 Date: Sun, 10 Nov 2024 11:31:57 +0800
* tests/gremlin.scm: Include stdio.h before using puts since GCC 14 no
longer allows implicit declarations.
---
 tests/gremlin.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/gremlin.scm b/tests/gremlin.scm
index 3dbb8d3643..280b1d8819 100644
--- a/tests/gremlin.scm
+++ b/tests/gremlin.scm
@@ -136,6 +136,7 @@ (define ground-truth
      (with-directory-excursion directory
        (call-with-output-file "t.c"
          (lambda (port)
+           (display "#include <stdio.h>\n" port)
            (display "int main () { puts(\"hello\"); }" port)))
        (invoke c-compiler "t.c"
                "-Wl,--enable-new-dtags" "-Wl,-rpath=/foo" "-Wl,-rpath=/bar")
@@ -164,6 +165,7 @@ (define ground-truth
      (with-directory-excursion directory
        (call-with-output-file "t.c"
          (lambda (port)
+           (display "#include <stdio.h>\n" port)
            (display "int main () { puts(\"hello\"); }" port)))
 
        (invoke c-compiler "t.c"
-- 
2.47.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#74288] [PATCH] tests: Fix gremlin.scm for GCC 14 Date: Tue, 12 Nov 2024 23:40:46 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Ting-Wei Lan <lantw44@gmail.com> skribis:

> * tests/gremlin.scm: Include stdio.h before using puts since GCC 14 no
> longer allows implicit declarations.

Applied, thanks!


--- End Message ---

reply via email to

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