bug-enscript
[Top][All Lists]
Advanced

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

[bug-enscript] [bug #56921] enscript git version does not build


From: Tomasz Kłoczko
Subject: [bug-enscript] [bug #56921] enscript git version does not build
Date: Thu, 19 Sep 2019 19:06:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36

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

                 Summary: enscript git version does not build
                 Project: GNU Enscript
            Submitted by: kloczek
            Submitted on: Thu 19 Sep 2019 11:06:33 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Build fails on

make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/enscript-1.6.6/afmlib'
gcc -DHAVE_CONFIG_H -I. -I..     -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -c
-o afm.o afm.c
afm.c:510:1: error: conflicting types for ‘afm_font_charwidth’
  510 | afm_font_charwidth (AFMFont font, AFMNumber ptsize, char ch,
      | ^~~~~~~~~~~~~~~~~~
afm.c:512:1: note: an argument type that has a default promotion can’t match
an empty parameter name list declaration
  512 | {
      | ^
In file included from afmint.h:87,
                 from afm.c:23:
afm.h:414:10: note: previous declaration of ‘afm_font_charwidth’ was here
  414 | AFMError afm_font_charwidth ___P ((AFMFont font, AFMNumber ptsize,
      |          ^~~~~~~~~~~~~~~~~~
afm.c:551:1: error: conflicting types for ‘afm_font_encode’
  551 | afm_font_encode (AFMFont font, unsigned char code, char *name,
      | ^~~~~~~~~~~~~~~
afm.c:553:1: note: an argument type that has a default promotion can’t match
an empty parameter name list declaration
  553 | {
      | ^
In file included from afmint.h:87,
                 from afm.c:23:
afm.h:423:10: note: previous declaration of ‘afm_font_encode’ was here
  423 | AFMError afm_font_encode ___P ((AFMFont font, unsigned char code, char
*name,
      |          ^~~~~~~~~~~~~~~
make[2]: *** [Makefile:477: afm.o] Error 1
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/enscript-1.6.6/afmlib'
make[1]: *** [Makefile:467: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/enscript-1.6.6'
make: *** [Makefile:406: all] Error 2





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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