[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64463] [groff] subroutine "debug_with_file_and_line" defined diffe
From: |
Dave |
Subject: |
[bug #64463] [groff] subroutine "debug_with_file_and_line" defined differently in two source files |
Date: |
Mon, 24 Jul 2023 11:16:03 -0400 (EDT) |
Update of bug #64463 (project groff):
Item Group: Build/Installation => Lint
_______________________________________________________
Follow-up Comment #1:
The output displays incorrectly because, not being in a "verbatim" block, some
asterisks were interpreted as bold markup. Reposting.
include/error.h:void debug_with_file_and_line(const char *, int, const char
*,
include/error.h- const errarg & = empty_errarg,
include/error.h- const errarg & = empty_errarg,
include/error.h- const errarg & = empty_errarg);
include/error.h-
include/error.h-void fatal(const char *,
include/error.h- const errarg & = empty_errarg,
include/error.h- const errarg & = empty_errarg,
include/error.h- const errarg & = empty_errarg);
include/error.h-
include/error.h-void error(const char *,
--
libs/libgroff/error.cpp:void debug_with_file_and_line(const char *filename,
libs/libgroff/error.cpp- int lineno,
libs/libgroff/error.cpp- const char *format,
libs/libgroff/error.cpp- const errarg &arg1,
libs/libgroff/error.cpp- const errarg &arg2,
libs/libgroff/error.cpp- const errarg &arg3)
libs/libgroff/error.cpp-{
libs/libgroff/error.cpp- do_error_with_file_and_line(filename, 0 /* nullptr
*/, lineno,
libs/libgroff/error.cpp- DEBUG, format, arg1,
arg2, arg3);
libs/libgroff/error.cpp-}
libs/libgroff/error.cpp-
--
roff/troff/input.cpp:void debug_with_file_and_line(const char *filename,
roff/troff/input.cpp- int lineno,
roff/troff/input.cpp- const char *format,
roff/troff/input.cpp- const errarg &arg1,
roff/troff/input.cpp- const errarg &arg2,
roff/troff/input.cpp- const errarg &arg3)
roff/troff/input.cpp-{
roff/troff/input.cpp- if (program_name)
roff/troff/input.cpp- fprintf(stderr, "%s:", program_name);
roff/troff/input.cpp- fprintf(stderr, "%s:", filename);
roff/troff/input.cpp- if (lineno > 0)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64463>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/