Re: Re: Exif doesn't compile
| From: | Sander Roobol | Date: | Thu, 04 Apr 2002 14:33:29 +0000 |
| Subject: | Re: Re: Exif doesn't compile | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-4890@lists.php.net to get a copy of this message | ||
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?
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