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: Dave Arnold
Subject: Re: [ft-devel] Build errors with MSVC
Date: Wed, 22 Oct 2014 09:31:51 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Might it be this bug: 
https://connect.microsoft.com/VisualStudio/feedback/details/718976/msvc-pr?

I see this warning on line 1095:
warning C4003: not enough actual parameters for macro 
'SET_DARKENING_PARAMETERS_0'

-Dave


On 10/22/2014 5:50 AM, Werner LEMBERG wrote:
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
_______________________________________________
Freetype-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype-devel




reply via email to

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