Re: Re: Exif doesn't compile
| From: | (Marcus Börger) | Date: | Thu, 04 Apr 2002 14:59:01 +0000 |
| Subject: | Re: Re: Exif doesn't compile | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82087@lists.php.net to get a copy of this message | ||
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