freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Build errors with MSVC


From: Werner LEMBERG
Subject: Re: [ft-devel] Build errors with MSVC
Date: Wed, 22 Oct 2014 14:50:44 +0200 (CEST)

> I then changed lines 1094 and 1095 to look like this (note that it now
> uses 'SET_DARKENING_PARAMETERS_0'):-
>
>   SET_DARKENING_PARAMETERS_0 ( driver,
>                                500, 400, 1000, 275, 1667, 275, 2333, 0 );
>
> The above seems to compile successfully.  So I then tried this:-
>
>   SET_DARKENING_PARAMETERS_0 ( driver,
>                                CFF_CONFIG_OPTION_DARKENING_PARAMETERS );
>
> but that gets me back to the same set of errors that I had in the
> first place.  So I'm guessing that MSVC is objecting to something
> about 'CFF_CONFIG_OPTION_DARKENING_PARAMETERS'.  Are there any other
> tests I could do that might help track this down?

I have no idea why MSVC rejects

  #define CFF_CONFIG_OPTION_DARKENING_PARAMETERS   500, 400, \
                                                  1000, 275, \
                                                  1667, 275, \
                                                  2333,   0

for expansion.  A valid preprocessor expression must consist of valid
C tokens – numbers and `,' are certainly valid.

This looks like a bug in MSVC...


    Werner

reply via email to

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