On Tue, Aug 12, 2014 at 12:03 PM, Jan Ehrhardt <[email protected]> wrote:
> Jan Ehrhardt in php.pecl.dev (Tue, 12 Aug 2014 11:56:32 +0200):
>>Jan Ehrhardt in php.pecl.dev (Mon, 11 Aug 2014 10:02:51 +0200):
>>>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\stdint.h(27) 
>>>: error C2371: 'int_fast16_t' : redefinition; different basic types
>>>        .\win32/php_stdint.h(101) : see declaration of 'int_fast16_t'
>>>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\stdint.h(31) 
>>>: error C2371: 'uint_fast16_t' : redefinition; different basic types
>>>        .\win32/php_stdint.h(105) : see declaration of 'uint_fast16_t'
>>
>>See this patch by Anatol (4 days old)
>>http://git.php.net/?p=php-src.git;a=commitdiff;h=7189039d650de1417e4e580865b1e77b39e3da55
>>
>>In PHP 5.5 there now is also a clash with uint_fast16_t. So this has to
>>be wrapped up with #ifndef as well.
>>
>>#ifndef uint16_t
>>typedef unsigned __int16  uint16_t;
>>#endif
>
> And:
>
> #ifndef int_fast16_t
> typedef int16_t   int_fast16_t;
> #endif
>
> #ifndef uint_fast16_t
> typedef uint16_t  uint_fast16_t;
> #endif

is it not what Anatol fixed in core recently?

Also using the php_stdint.h header should solve that automatically.



-- 
Pierre

@pierrejoye | http://www.libgd.org

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to