At 16:33 04.04.2002, you wrote:
>Well, it seems to be fixed now on Unix/Linux, but it's still broken on 
>Windows:
>C:\php\php4\ext\exif\exif.c(1265) : error C2057: expected constant expression
>C:\php\php4\ext\exif\exif.c(1265) : error C2466: cannot allocate an array 
>of constant size 0
>C:\php\php4\ext\exif\exif.c(1265) : error C2133: 'mbBuffer' : unknown size
>
>MB_CUR_MAX is defined in Microsoft's ctype.h:
>#ifndef MB_CUR_MAX
>#define MB_CUR_MAX __mb_cur_max
>_CRTIMP extern int __mb_cur_max;
>#endif  /* MB_CUR_MAX */
>
>Can someone look into this?

That doesn't work because it is not a constant. So someone with MS VC 
should check the
value of the variable __mb_cur_max. Then we can set it. Or does anyone have 
a better idea?

marcus

>Thanks,
>
>Sander
>
>On 2002.04.03 21:33 Marcus Börger wrote:
>>That should be a library constatnt i add it...
>>marcus
>>At 21:05 03.04.2002, Derick Rethans wrote:
>>>Hello Marcus,
>>>ext/exif doesn't compile anymore, it can't find the constant MB_CUR_MAX in
>>>exif.c (PHP_4_2_0 line 1260, HEAD line 1972). Please fix this as soon as
>>>possible.
>>>regards,
>>>Derick
>>
>>-- PHP Quality Assurance Mailing List <http://www.php.net/>
>>To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to