bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#31634: emacs 26.1 Compilation error and fix on Solaris 10


From: Christian Jullien
Subject: bug#31634: emacs 26.1 Compilation error and fix on Solaris 10
Date: Tue, 29 May 2018 09:10:45 +0200

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:address@hidden 
Sent: mardi 29 mai 2018 08:50
To: Christian Jullien
Cc: address@hidden
Subject: Re: bug#31634: emacs 26.1 Compilation error and fix on Solaris 10

On Mai 29 2018, "Christian Jullien" <address@hidden> 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, address@hidden
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."






reply via email to

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