GNU bug report logs -
#31634
emacs 26.1 Compilation error and fix on Solaris 10
Previous Next
Full log
View this message in rfc822 format
In font.h I see
#ifdef HAVE_XFT
extern struct font_driver const xftfont_driver;
#endif
The result of configure gives config.h with XFT feature:
/* Summary of some of the main features enabled by configure. */
#define EMACS_CONFIG_FEATURES "XPM JPEG TIFF PNG ACL FREETYPE XFT
TOOLKIT_SCROLL_BARS LUCID X11 THREADS"
But later in this file, it gives
/* Define to 1 if you have the Xft library. */
/* #undef HAVE_XFT */
So there is no chance to see external declaration in font.h
Christian
-----Original Message-----
From: Andreas Schwab [mailto:schwab <at> linux-m68k.org]
Sent: mardi 29 mai 2018 08:50
To: Christian Jullien
Cc: 31634 <at> debbugs.gnu.org
Subject: Re: bug#31634: emacs 26.1 Compilation error and fix on Solaris 10
On Mai 29 2018, "Christian Jullien" <eligis <at> orange.fr> wrote:
> Trying to compile emacs 26.1 on solaris 10 sparc with gcc 7.3, I get
>
>
>
> xftfont.c: In function 'xftfont_open':
>
> xftfont.c:338:19: error: 'xftfont_driver' undeclared (first use in this
> function); did you mean 'ftxfont_driver'?
Why aren't you seeing the declaration in src/font.h?
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
This bug report was last modified 6 years and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.