[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64910] build failure with clang++ on z/OS (include assert.h _after
From: |
G. Branden Robinson |
Subject: |
[bug #64910] build failure with clang++ on z/OS (include assert.h _after_ config.h) |
Date: |
Mon, 20 Nov 2023 02:15:20 -0500 (EST) |
Update of bug #64910 (project groff):
Status: In Progress => Need Info
_______________________________________________________
Follow-up Comment #3:
Hi Mike,
I've pushed. Please let me know if this fixes the issue, or doesn't.
commit b28d9d05cac409842cd6387b544e39d36d9c3c01
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Mon Nov 20 00:00:59 2023 -0600
[build]: Fix Savannah #64910 ({assert,config}.h).
In source files that #include <assert.h>, ensure that we #include
<config.h> first (with a `HAVE_CONFIG_H` inclusion guard). This should
prevent build failures on AIX a.k.a. z/OS.
* src/devices/grodvi/dvi.cpp:
* src/devices/grolbp/lbp.cpp:
* src/devices/grolj4/lj4.cpp:
* src/include/itable.h:
* src/include/ptable.h:
* src/include/stringclass.h:
* src/libs/libbib/linear.cpp:
* src/libs/libbib/search.cpp:
* src/libs/libdriver/printer.cpp:
* src/libs/libgroff/color.cpp:
* src/libs/libgroff/font.cpp:
* src/libs/libgroff/fontfile.cpp:
* src/libs/libgroff/nametoindex.cpp:
* src/libs/libgroff/relocate.cpp:
* src/libs/libgroff/searchpath.cpp:
* src/preproc/eqn/box.cpp:
* src/preproc/eqn/delim.cpp:
* src/preproc/eqn/pile.cpp:
* src/preproc/eqn/script.cpp:
* src/preproc/html/pre-html.cpp:
* src/preproc/pic/pic.h:
* src/preproc/preconv/preconv.cpp:
* src/preproc/soelim/soelim.cpp:
* src/roff/groff/groff.cpp:
* src/roff/troff/troff.h:
* src/utils/hpftodit/hpftodit.cpp:
* src/utils/indxbib/indxbib.cpp:
* src/utils/lkbib/lkbib.cpp:
* src/utils/lookbib/lookbib.cpp:
* src/utils/tfmtodit/tfmtodit.cpp: Do it.
Fixes <https://savannah.gnu.org/bugs/?64910>. Also see
<https://savannah.gnu.org/bugs/?61315>. Thanks to Mike Fulton for the
report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64910>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/