GNU bug report logs - #74288
[PATCH] tests: Fix gremlin.scm for GCC 14

Previous Next

Package: guix-patches;

Reported by: Ting-Wei Lan <lantw44 <at> gmail.com>

Date: Sun, 10 Nov 2024 03:38:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74288 in the body.
You can then email your comments to 74288 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#74288; Package guix-patches. (Sun, 10 Nov 2024 03:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ting-Wei Lan <lantw44 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 10 Nov 2024 03:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ting-Wei Lan <lantw44 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Ting-Wei Lan <lantw44 <at> gmail.com>
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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 12 Nov 2024 22:44:01 GMT) Full text and rfc822 format available.

Notification sent to Ting-Wei Lan <lantw44 <at> gmail.com>:
bug acknowledged by developer. (Tue, 12 Nov 2024 22:44:02 GMT) Full text and rfc822 format available.

Message #10 received at 74288-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ting-Wei Lan <lantw44 <at> gmail.com>
Cc: 74288-done <at> debbugs.gnu.org
Subject: Re: [bug#74288] [PATCH] tests: Fix gremlin.scm for GCC 14
Date: Tue, 12 Nov 2024 23:40:46 +0100
Ting-Wei Lan <lantw44 <at> gmail.com> skribis:

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

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 11 Dec 2024 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.