URL:
  <https://savannah.gnu.org/bugs/?67398>

                 Summary: rename error.h to avoid a clatch with the same name
in a GNULIB module
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Wed 06 Aug 2025 01:04:36 AM GMT
                Category: Core
                Severity: 3 - Normal
              Item Group: Feature change
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 06 Aug 2025 01:04:36 AM GMT By: Bjarni Ingi Gislason <bjarniig>
Subject: rename error.h to avoid a clatch with the same name in a GNULIB
  module

  I had to rename this file when I added a gnulib module as it contained
a file with the same name.

  I renamed the groff file to groff_error.h to avoid a clatch.

-.-

    src/preproc/preconv/preconv.cpp: change "error.h" to "groff_error.h" to
avoid
    a name clatch with "error.h" from GNULIB (lib/error.in.h)

-.-

    src/libs/libdriver/input.cpp: change name 'error.h' to local name
'groff_error.h'

-.-

    src/utils/tfmtodit/tfmtodit.cpp: change "error.h" to "groff_error.h" as
    the former name clashes with that from GNU gnulib.

-.-


      Change the name "error.h" to "groff_error.h" to avoid a clash with
the
    "error.h" in "gnulib/openad-die.c"

    src/include/driver.h
    src/libs/libbib/index.cpp
    src/libs/libbib/linear.cpp
    src/libs/libbib/search.cpp
    src/libs/libgroff/color.cpp
    src/libs/libgroff/curtime.cpp
    src/libs/libgroff/error.cpp
    src/libs/libgroff/font.cpp
    src/libs/libgroff/glyphuni.cpp
    src/libs/libgroff/nametoindex.cpp
    src/libs/libgroff/paper.cpp
    src/libs/libgroff/ptable.cpp
    src/libs/libgroff/relocate.cpp
    src/libs/libgroff/searchpath.cpp
    src/libs/libgroff/string.cpp
    src/libs/libgroff/symbol.cpp
    src/libs/libgroff/tmpfile.cpp
    src/libs/libgroff/uniuni.cpp
    src/preproc/eqn/eqn.h
    src/preproc/grn/hdb.cpp
    src/preproc/grn/main.cpp
    src/preproc/html/pre-html.cpp
    src/preproc/html/pushback.cpp
    src/preproc/pic/pic.h
    src/preproc/preconv/preconv.cpp
    src/preproc/refer/refer.h
    src/preproc/soelim/soelim.cpp
    src/preproc/tbl/table.h
    src/roff/groff/groff.cpp
    src/roff/troff/troff.h
    src/utils/addftinfo/addftinfo.cpp
    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

-.-

    src/include/error.h: change name to .../groff_error.h as "gnulib" uses
    the former in "lib/openat-div.c" instead of the system <error.h>








    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to