bug-groff
[Top][All Lists]
Advanced

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

[bug #64403] error when compiling latest groff; GIFONT not declared


From: Bjarni Ingi Gislason
Subject: [bug #64403] error when compiling latest groff; GIFONT not declared
Date: Mon, 10 Jul 2023 11:00:59 -0400 (EDT)

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

                 Summary: error when compiling latest groff; GIFONT not
declared
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Mon 10 Jul 2023 03:00:57 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Build/Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 10 Jul 2023 03:00:57 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: error when compiling latest groff; GIFONT not declared

  YACC     src/preproc/eqn/eqn.cpp
updating eqn.output
updating eqn.tab.cpp
updating eqn.tab.hpp
  CXX      src/preproc/eqn/eqn-lex.o
../src/preproc/eqn/lex.cpp:97:15: error: 'GIFONT' was not declared in this
scope; did you mean 'GRFONT'?
   97 |   { "gifont", GIFONT },
      |               ^~~~~~
      |               GRFONT
../src/preproc/eqn/lex.cpp: In function 'int yylex()':
../src/preproc/eqn/lex.cpp:1190:10: error: 'GIFONT' was not declared in this
scope; did you mean 'GRFONT'?
 1190 |     case GIFONT:
      |          ^~~~~~
      |          GRFONT
--- ../src/preproc/eqn/lex.cpp
+++ ../src/preproc/eqn/lex.cpp
@@ -94,7 +94,7 @@
   { "mark", MARK },
   { "lineup", LINEUP },
   { "space", SPACE },
-  { "gifont", GIFONT },
+  { "gifont", GRFONT },
   { "gfont", GFONT }, // for backward compatibility
   { "gsize", GSIZE },
   { "define", DEFINE },
@@ -1187,7 +1187,7 @@
     case GFONT:
       do_gfont();
       break;
-    case GIFONT:
+    case GRFONT:
       do_gifont();
       break;
     case GRFONT:
make[2]: *** [Makefile:10837: src/preproc/eqn/eqn-lex.o] Error 1
make[2]: Leaving directory '/home/bg/git/groff/build'
make[1]: *** [Makefile:12460: all-recursive] Error 1
make[1]: Leaving directory '/home/bg/git/groff/build'
make: *** [Makefile:6957: all] Error 2









    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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