emacs-devel
[Top][All Lists]
Advanced

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

Re: undefined reference to ftfont_variation_glyphs


From: Sebastian Rose
Subject: Re: undefined reference to ftfont_variation_glyphs
Date: Sat, 28 Mar 2009 17:43:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Stefan Monnier <address@hidden> writes:
>> @@ -422,11 +429,15 @@
>>      NULL,
>>  #endif      /* not (HAVE_M17N_FLT && HAVE_LIBOTF) */
>>      NULL,                   /* check */
>> +#ifdef HAVE_LIBOTF
>> +#ifdef HAVE_M17N_FLT
>>  #ifdef HAVE_OTF_GET_VARIATION_GLYPHS
>>      ftfont_variation_glyphs
>>  #else
>>      NULL
>>  #endif
>> +#endif
>> +#endif
>>    };
>  
> Makes me wonder: how come HAVE_OTF_GET_VARIATION_GLYPHS is defined for
> you if ftfont_variation_glyphs isn't?
>
>
>         Stefan

I don't know anything about the emacs code. I think HAVE_LIBOTF is
defined, since ./configure finds libotf.

If HAVE_OTF_GET_VARIATION_GLYPHS is defined in this case, the culprit
might be HAVE_M17N_FLT.

No matter which one is defined or not, it seems wrong to enclose a
functions declaration, usage, and definition in different sets of
include guards.


Regards,

   Sebastian




reply via email to

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