Update of bug #64463 (project groff):

              Item Group:                    Lint => Build/Installation     
                  Status:               Need Info => Unreproducible         

    _______________________________________________________

Follow-up Comment #3:

I can't reproduce any problem even if I add calls to the function (and its
more ergonomic wrapper).  I added literals to make it clear which version of
the functions (`troff` or `libgroff`'s) are being called.


diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index c808bc66c..fab876f8d 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -8299,6 +8299,8 @@ int main(int argc, char **argv)
   if (unsafe_flag)
     mac_path = &macro_path;
   set_string(".T", device);
+  debug_with_file_and_line("GBR", 1, "%1 %2 %3", "foo", "bar", "baz");
+  debug("qux");
   init_charset_table();
   init_hpf_code_table();
   if (0 /* nullptr */ == font::load_desc())
@@ -9056,7 +9058,7 @@ void debug_with_file_and_line(const char *filename,
                              const errarg &arg3)
 {
   if (program_name)
-    fprintf(stderr, "%s:", program_name);
+    fprintf(stderr, "GBRPREFIX:%s:", program_name);
   fprintf(stderr, "%s:", filename);
   if (lineno > 0)
     fprintf(stderr, "%d:", lineno);


I suspect the problem is with your private fork of _groff_.  If you can't
reproduce the linker error with stock _groff_, this ticket should be closed as
invalid.


    _______________________________________________________

Reply to this item at:

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

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


Reply via email to