bug-groff
[Top][All Lists]
Advanced

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

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


From: Ingo Schwarze
Subject: [bug #59276] [PATCH] #include "config.h" before <stdio.h>
Date: Sun, 18 Oct 2020 19:04:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:81.0) Gecko/20100101 Firefox/81.0

Update of bug #59276 (project groff):

                  Status:                   Fixed => Need Info              
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #3:

re comment #2:

This is unexpected and worrying.  In a nutshell, even though it does not
clearly say so, what the message you are seeing means is that even your new
GCC does not recognize the C99 "restrict" keyword and autoconf/gnulib replaces
it with something else in your build.  That may mean that something else is
wrong in addition to what i patched.

I think we should try to understand what is going on in your build to figure
out whether there is an additional portability error.  Can you please post the
following files from the *FAILING* build:

 * [build/]config.status
 * [build/]config.log
 * [build/]src/include/config.h


For comparison, with clang 10.0.1, things work for me even without this patch
(as expected).  Note about the machine i tested on: clang 10.0.1 is the
default compiler there, but gcc 4.2.1 is also installed for testing purposes. 
The groff build decides that it somehow prefers gcc 4.2.1 over clang 10.0.1 -
weird, isn't it, but whatever.  :)

 $ cc --version
OpenBSD clang version 10.0.1 
Target: amd64-unknown-openbsd6.8
 $ gcc --version
gcc (GCC) 4.2.1 20070719 
Copyright (C) 2007 Free Software Foundation, Inc.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59276>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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