[Top][All Lists]

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

[bug #59276] [PATCH] #include "config.h" before <stdio.h>

From: G. Branden Robinson
Subject: [bug #59276] [PATCH] #include "config.h" before <stdio.h>
Date: Sun, 5 Feb 2023 02:30:51 -0500 (EST)

Follow-up Comment #8, bug #59276 (project groff):

commit fe121eeacd53c96105f23209b2c205f436f97359
Author:     Ingo Schwarze <schwarze@openbsd.org>
AuthorDate: Thu Oct 15 15:12:20 2020 +0200
Commit:     Ingo Schwarze <schwarze@openbsd.org>
CommitDate: Sun Oct 18 16:23:40 2020 +0200

     #include "config.h" before <stdio.h>
    Required with e.g. GCC 4.2.1 because gnulib/lib/stdio.in.h
    uses the "restrict" keyword since this gnulib commit:
    commit 182afcba2635cbff91240656c7fb3742dd23ab6f
    Author: Bruno Haible <bruno@clisp.org>
    Date: Sat Feb 22 20:57:30 2020 +0100
    Otherwise, the build may die from the declaration of
    various printf-like functions with messages like:
    ./lib/stdio.h:851: error: expected ',' or '...' before 'fp'
    fixes https://savannah.gnu.org/bugs/index.php?59276
    OK cjwatson@


Reply to this item at:


Message sent via Savannah

reply via email to

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